Class AbstractTomcatManagerInstalledLocalDeployer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
-
- org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerInstalledLocalDeployer
-
- Direct Known Subclasses:
TomcatManager4x5x6xInstalledLocalDeployer
public abstract class AbstractTomcatManagerInstalledLocalDeployer extends AbstractTomcatManagerDeployer
Common code to perform local deployments using a Tomcat manager-based deployer.
-
-
Field Summary
Fields Modifier and Type Field Description protected LocalContainer
container
The local container to deploy to.-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
managerContext
-
-
Constructor Summary
Constructors Constructor Description AbstractTomcatManagerInstalledLocalDeployer(LocalContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Configuration
getConfiguration()
DeployerType
getType()
protected void
performUndeploy(Deployable deployable)
Performs undeployment of deployable.-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
createManager, deploy, getPath, getTomcatManager, getVersion, list, redeploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Field Detail
-
container
protected LocalContainer container
The local container to deploy to.
-
-
Constructor Detail
-
AbstractTomcatManagerInstalledLocalDeployer
public AbstractTomcatManagerInstalledLocalDeployer(LocalContainer container)
-
-
Method Detail
-
performUndeploy
protected void performUndeploy(Deployable deployable) throws TomcatManagerException, IOException
Performs undeployment of deployable.Note: This is done differently by the different versions of Tomcat which is why we're using an Abstract method here.
- Specified by:
performUndeploy
in classAbstractTomcatManagerDeployer
- Parameters:
deployable
- theDeployable
to undeploy- Throws:
TomcatManagerException
- If TomcatManagerException error occured perfoming the commandIOException
- If I/O error occured getting the path of deployable
-
getConfiguration
protected Configuration getConfiguration()
- Specified by:
getConfiguration
in classAbstractTomcatManagerDeployer
- Returns:
- the configuration to use for deployment
-
getType
public DeployerType getType()
- Returns:
- the deployer's type (local, remote, etc)
-
-