org.codehaus.cargo.container.tomcat.internal
Class AbstractTomcatManagerInstalledLocalDeployer
java.lang.Object
org.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.deployer.AbstractDeployer
org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerInstalledLocalDeployer
- All Implemented Interfaces:
- org.codehaus.cargo.container.deployer.Deployer, org.codehaus.cargo.util.log.Loggable
- Direct Known Subclasses:
- TomcatManagerInstalledLocalDeployer
public abstract class AbstractTomcatManagerInstalledLocalDeployer
- extends AbstractTomcatManagerDeployer
Common code to perform local deployments using a Tomcat manager-based deployer.
- Version:
- $Id: AbstractTomcatManagerInstalledLocalDeployer.java 1157 2006-07-27 19:57:13Z vmassol $
Field Summary |
protected org.codehaus.cargo.container.LocalContainer |
container
The local container to deploy to. |
Method Summary |
protected org.codehaus.cargo.container.configuration.Configuration |
getConfiguration()
|
protected void |
performUndeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
Performs undeployment of deployable. |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer |
getType |
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer |
deploy, deploy |
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
container
protected org.codehaus.cargo.container.LocalContainer container
- The local container to deploy to.
AbstractTomcatManagerInstalledLocalDeployer
public AbstractTomcatManagerInstalledLocalDeployer(org.codehaus.cargo.container.LocalContainer container)
-
- See Also:
AbstractTomcatManagerDeployer.AbstractTomcatManagerDeployer(org.codehaus.cargo.container.Container)
getConfiguration
protected org.codehaus.cargo.container.configuration.Configuration getConfiguration()
-
- Specified by:
getConfiguration
in class AbstractTomcatManagerDeployer
- Returns:
- the configuration to use for deployment
- See Also:
AbstractTomcatManagerDeployer.getConfiguration()
performUndeploy
protected void performUndeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
throws TomcatManagerException,
java.io.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 class AbstractTomcatManagerDeployer
- Parameters:
deployable
- the Deployable
to undeploy
- Throws:
TomcatManagerException
- If TomcatManagerException error occured perfoming the command
java.io.IOException
- If I/O error occured getting the path of deployable- See Also:
AbstractTomcatManagerDeployer.performUndeploy(org.codehaus.cargo.container.deployable.Deployable)
Copyright © 2004-2010 Codehaus. All Rights Reserved.