org.codehaus.cargo.container.spi.util
Class ContainerUtils
java.lang.Object
org.codehaus.cargo.container.spi.util.ContainerUtils
public final class ContainerUtils
- extends Object
Set of common Container utility methods for people extending Cargo.
- Version:
- $Id: ContainerUtils.java 938 2006-03-17 14:53:32Z vmassol $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCPCURL
public static URL getCPCURL(Configuration configuration)
- Parameters:
configuration
- the configuration from which to derive the CPC URL. We need it to get
the hostname, the port, etc.
- Returns:
- the CPC Cargo URL
waitTillContainerIsStopped
public static void waitTillContainerIsStopped(Container container)
- Wait indefinitely till the container is stopped.
- Parameters:
container
- the local container
Copyright © 2004-2012 Codehaus. All Rights Reserved.