Package 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:
AbstractJettyRemoteContainer
,AbstractTomcatRemoteContainer
,AbstractWebLogicRemoteContainer
,GlassFish3xRemoteContainer
,JBoss4xRemoteContainer
,JBoss5xRemoteContainer
,JBoss7xRemoteContainer
,Jonas4xRemoteContainer
,Jonas5xRemoteContainer
public abstract class AbstractRemoteContainer extends AbstractContainer implements RemoteContainer
Base implementation of a remote container.
-
-
Constructor Summary
Constructors Constructor Description AbstractRemoteContainer(RuntimeConfiguration configuration)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeConfiguration
getConfiguration()
State
getState()
ContainerType
getType()
void
setConfiguration(RuntimeConfiguration configuration)
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.cargo.container.Container
getCapability, getId, getName
-
-
-
-
Constructor Detail
-
AbstractRemoteContainer
public AbstractRemoteContainer(RuntimeConfiguration configuration)
Default constructor.- Parameters:
configuration
- the configuration to associate to this container. It can be changed later on by callingsetConfiguration(RuntimeConfiguration)
-
-
Method Detail
-
setConfiguration
public void setConfiguration(RuntimeConfiguration configuration)
- Specified by:
setConfiguration
in interfaceRemoteContainer
- Parameters:
configuration
- the runtime configuration implementation to use
-
getConfiguration
public RuntimeConfiguration getConfiguration()
- Specified by:
getConfiguration
in interfaceRemoteContainer
- Returns:
- the runtime configuration to use
- See Also:
RemoteContainer.setConfiguration(RuntimeConfiguration)
-
getState
public State getState()
-
getType
public ContainerType getType()
-
-