public class Tomcat4xRemoteDeployer extends AbstractTomcatRemoteDeployer
container
Constructor and Description |
---|
Tomcat4xRemoteDeployer(RemoteContainer container) |
Modifier and Type | Method and Description |
---|---|
protected void |
performUndeploy(Deployable deployable)
Performs undeployment of deployable.
|
getConfiguration
createManager, deploy, getPath, getTomcatManager, list, redeploy, start, stop, undeploy
getType
deploy, deploy, undeploy
public Tomcat4xRemoteDeployer(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 4.x due the http://issues.apache.org/bugzilla/show_bug.cgi?id=28851 issue. The issue has been fixed in Tomcat 5.x and performUndeploy implementation for Tomcat5x differs from Tomcat4.x.
performUndeploy
in class AbstractTomcatManagerDeployer
deployable
- 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)
Copyright © 2004-2013 Codehaus. All Rights Reserved.