org.codehaus.cargo.container.tomcat
Class Tomcat6xRemoteDeployer

java.lang.Object
  extended by org.codehaus.cargo.util.log.LoggedObject
      extended by org.codehaus.cargo.container.spi.deployer.AbstractDeployer
          extended by org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
              extended by org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
                  extended by org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
                      extended by org.codehaus.cargo.container.tomcat.Tomcat6xRemoteDeployer
All Implemented Interfaces:
Deployer, Loggable

public class Tomcat6xRemoteDeployer
extends AbstractTomcatRemoteDeployer

A special Tomcat6x manager-based deployer to perform deployment to a remote container.

Version:
$Id: Tomcat6xRemoteDeployer.java 1705 2008-09-02 13:14:55Z adriana $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
container
 
Constructor Summary
Tomcat6xRemoteDeployer(RemoteContainer container)
          
 
Method Summary
protected  void performUndeploy(Deployable deployable)
          Performs undeployment of deployable.
 
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
getConfiguration
 
Methods inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer
createManager, deploy, getPath, getTomcatManager, list, redeploy, start, stop, undeploy
 
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, undeploy
 
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
 

Constructor Detail

Tomcat6xRemoteDeployer

public Tomcat6xRemoteDeployer(RemoteContainer container)

See Also:
AbstractTomcatRemoteDeployer.AbstractTomcatRemoteDeployer(org.codehaus.cargo.container.RemoteContainer)
Method Detail

performUndeploy

protected void performUndeploy(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.

This is a special implementation of undeploy command for Tomcat 6.x

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-2011 Codehaus. All Rights Reserved.