Class Tomcat5xRemoteDeployer
- 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.AbstractTomcatRemoteDeployer
-
- org.codehaus.cargo.container.tomcat.Tomcat5xRemoteDeployer
-
- Direct Known Subclasses:
Tomcat6xRemoteDeployer
public class Tomcat5xRemoteDeployer extends AbstractTomcatRemoteDeployer
The Tomcat 5.x onwards manager-based deployer to perform deployment to a remote container.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
container
-
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
managerContext
-
-
Constructor Summary
Constructors Constructor Description Tomcat5xRemoteDeployer(RemoteContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performUndeploy(Deployable deployable)
Performs undeployment of deployable.-
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
getConfiguration, getType
-
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
-
-
-
-
Constructor Detail
-
Tomcat5xRemoteDeployer
public Tomcat5xRemoteDeployer(RemoteContainer 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
-
-