org.codehaus.cargo.container
Interface Container
- All Superinterfaces:
- org.codehaus.cargo.util.log.Loggable
- All Known Subinterfaces:
- EmbeddedLocalContainer, InstalledLocalContainer, LocalContainer, RemoteContainer
- All Known Implementing Classes:
- AbstractContainer, AbstractEmbeddedLocalContainer, AbstractInstalledLocalContainer, AbstractLocalContainer, AbstractRemoteContainer
- public interface Container
- extends org.codehaus.cargo.util.log.Loggable
Common container API to wrap a physical container. There can be specialized types of containers
such as LocalContainer
or
RemoteContainer
.
- Version:
- $Id: Container.java 886 2006-02-28 12:40:47Z vmassol $
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
getId
public java.lang.String getId()
- Returns:
- the short name of the container. Note: this is not a unique id. It is simply the
name in a computer-usable format.
getName
public java.lang.String getName()
- Returns:
- the human readable name of the Container (ex: "Resin 3.x", "JBoss 3.0.8", etc).
getCapability
public ContainerCapability getCapability()
- Returns:
- the
ContainerCapability
of the container in term of ability to deploy such
and such type of Deployable
s
(eg WAR, EAR, etc).
getState
public State getState()
- Returns:
- the container state (Valid states are Container.STOPPED, Container.STARTED,
Container.STARTING and Container.STOPPING)
getType
public ContainerType getType()
- Returns:
- the container's type (local , remote, etc)
Copyright © 2004-2007 Codehaus. All Rights Reserved.