Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

First you need to create a Container instance. This can be done using the container factory or directly by instating a container implementation class.

Once you have this container instance, starting the container is as simple as calling the start() method. Before doing this though you'll need to ensure you have defined the container's homeDir (if you're using a container in standalone mode - It's not required for containers in embedded mode). You'll also need to ensure you've also created and assigned a container installation.

Of course it you wish to statically deploy archives, you'll need to add deployables to the container.

It is important to note that the Container.start() method will wait until the container is fully started before returning.

Example: Starting Resin 3.x with no deployable

  • No labels