Cargo : Runtime Configuration
This page last changed on May 14, 2011 by alitokmen.
DefinitionA configuration for a container that is already started ExplanationThis configuration represents a container that is already running somewhere, be it on the same machine as Cargo or not, that might have been started by Cargo or not. Cargo accesses that container using a remote access protocol and the container is considered as a black box. This configuration is typically used in order to remotely deploy applications. Support Matrix
Java APIThere are different ways of using a runtime configuration:
[...]
Configuration configuration = new TomcatRuntimeConfiguration();
[...]
[...] ConfigurationFactory factory = new DefaultConfigurationFactory(); Configuration configuration = factory.createConfiguration("tomcat5x", ContainerType.REMOTE, ConfigurationType.RUNTIME); [...] Ant TaskExample: <cargo containerId="tomcat5x" [...]> <configuration type="runtime"/> [...] </cargo> Maven2 PluginExample: [...] <container> <containerId>tomcat5x</containerId> [...] </container> <configuration> <type>runtime</type> </configuration> [...] |
![]() |
Document generated by Confluence on Jun 14, 2011 22:09 |