public class Tomcat7xRemoteDeployer extends AbstractTomcatRemoteDeployer
containermanagerContext| Constructor and Description |
|---|
Tomcat7xRemoteDeployer(RemoteContainer container) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPath(Deployable deployable)
Gets the webapp path for the specified deployable.
|
protected String |
getVersion(Deployable deployable)
Gets the webapp version for the specified deployable.
|
protected void |
performUndeploy(Deployable deployable)
Performs undeployment of deployable.
|
getConfigurationcreateManager, deploy, getTomcatManager, list, redeploy, redeploy, start, stop, undeploygetTypedeploy, deploy, start, stop, undeploygetLogger, setLoggerpublic Tomcat7xRemoteDeployer(RemoteContainer container)
protected void performUndeploy(Deployable deployable) throws TomcatManagerException, IOException
Note: This is done differently by the different versions of Tomcat which is why we're using an Abstract method here.
This is a special implementation of undeploy command for Tomcat 7.x
performUndeploy in class AbstractTomcatManagerDeployerdeployable - the Deployable to undeployTomcatManagerException - If TomcatManagerException error occured perfoming the commandIOException - If I/O error occured getting the path of deployableAbstractTomcatManagerDeployer.performUndeploy(org.codehaus.cargo.container.deployable.Deployable)protected String getPath(Deployable deployable)
This is a special implementation of undeploy command for Tomcat 7.x with version support.
getPath in class AbstractTomcatManagerDeployerdeployable - the deployableAbstractTomcatManagerDeployer.getPath(org.codehaus.cargo.container.deployable.Deployable)protected String getVersion(Deployable deployable)
This is a special implementation of undeploy command for Tomcat 7.x with version support.
getVersion in class AbstractTomcatManagerDeployerdeployable - the deployableAbstractTomcatManagerDeployer.getVersion(org.codehaus.cargo.container.deployable.Deployable)Copyright © 2004-2013 Codehaus. All Rights Reserved.