org.codehaus.cargo.container.spi
Class AbstractRemoteContainer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.AbstractContainer
org.codehaus.cargo.container.spi.AbstractRemoteContainer
- All Implemented Interfaces:
- Container, RemoteContainer, Loggable
- Direct Known Subclasses:
- AbstractJBossRemoteContainer, AbstractJettyRemoteContainer, AbstractTomcatRemoteContainer
public abstract class AbstractRemoteContainer
- extends AbstractContainer
- implements RemoteContainer
Base implementation of a remote container.
- Version:
- $Id: AbstractRemoteContainer.java 969 2006-03-27 11:34:18Z vmassol $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRemoteContainer
public AbstractRemoteContainer(RuntimeConfiguration configuration)
- Default constructor.
- Parameters:
configuration
- the configuration to associate to this container. It can be changed
later on by calling setConfiguration(RuntimeConfiguration)
setConfiguration
public void setConfiguration(RuntimeConfiguration configuration)
-
- Specified by:
setConfiguration
in interface RemoteContainer
- Parameters:
configuration
- the runtime configuration implementation to use- See Also:
RemoteContainer.setConfiguration(RuntimeConfiguration)
getConfiguration
public RuntimeConfiguration getConfiguration()
-
- Specified by:
getConfiguration
in interface RemoteContainer
- Returns:
- the runtime configuration to use
- See Also:
RemoteContainer.getConfiguration()
getState
public State getState()
-
- Specified by:
getState
in interface Container
- Returns:
- the container state (Valid states are Container.STOPPED, Container.STARTED,
Container.STARTING and Container.STOPPING)
- See Also:
Container.getState()
getType
public ContainerType getType()
-
- Specified by:
getType
in interface Container
- Returns:
- the container's type (local , remote, etc)
- See Also:
Container.getType()
Copyright © 2004-2012 Codehaus. All Rights Reserved.