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 SummaryFields Modifier and Type Field Description protected LocalContainercontainerThe local container to deploy to.- 
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployermanagerContext
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractTomcatManagerInstalledLocalDeployer(LocalContainer container)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationgetConfiguration()DeployerTypegetType()protected voidperformUndeploy(Deployable deployable)Performs undeployment of deployable.- 
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployercreateManager, deploy, getPath, getTomcatManager, getVersion, list, redeploy, redeploy, start, stop, undeploy
 - 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployerdeploy, deploy, redeploy, start, stop, undeploy
 - 
Methods inherited from class org.codehaus.cargo.util.log.LoggedObjectgetLogger, setLogger
 
- 
 
- 
- 
- 
Field Detail- 
containerprotected LocalContainer container The local container to deploy to.
 
- 
 - 
Constructor Detail- 
AbstractTomcatManagerInstalledLocalDeployerpublic AbstractTomcatManagerInstalledLocalDeployer(LocalContainer container) 
 
- 
 - 
Method Detail- 
performUndeployprotected 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:
- performUndeployin class- AbstractTomcatManagerDeployer
- Parameters:
- deployable- the- Deployableto undeploy
- Throws:
- TomcatManagerException- If TomcatManagerException error occured perfoming the command
- IOException- If I/O error occured getting the path of deployable
 
 - 
getConfigurationprotected Configuration getConfiguration() - Specified by:
- getConfigurationin class- AbstractTomcatManagerDeployer
- Returns:
- the configuration to use for deployment
 
 - 
getTypepublic DeployerType getType() - Returns:
- the deployer's type (local, remote, etc)
 
 
- 
 
-