Cargo : Container Stop This page last changed on Mar 04, 2006 by vmassol. ### Definition Stop a running container
| This feature is only available for local containers
Note: The stop action waits till the container is fully stopped before returning. ### Example using the Java API Stopping Orion 1.x:
    InstalledLocalContainer container = new Orion1xInstalledLocalContainer(
        new OrionStandaloneConfiguration(new File("target/orion1x")));
    container.setHome(new File("c:/apps/orion-1.6.0b"));

    container.stop();
### Example using the Ant API Stopping Orion 1.x:
    <cargo containerId="orion1x" home="c:/apps/orion-1.6.0b" action="stop"/>

Document generated by Confluence on Mar 22, 2006 15:28