org.codehaus.cargo.container.tomcat
Class Tomcat5xRemoteDeployer

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

public class Tomcat5xRemoteDeployer
extends AbstractTomcatRemoteDeployer

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

Version:
$Id: Tomcat5xRemoteDeployer.java 1157 2006-07-27 19:57:13Z vmassol $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.tomcat.internal.AbstractTomcatRemoteDeployer
container
 
Constructor Summary
Tomcat5xRemoteDeployer(org.codehaus.cargo.container.RemoteContainer container)
          {@inheritDoc}
 
Method Summary
protected  void performUndeploy(org.codehaus.cargo.container.deployable.Deployable deployable)
          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.

 
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
 
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

Tomcat5xRemoteDeployer

public Tomcat5xRemoteDeployer(org.codehaus.cargo.container.RemoteContainer container)
{@inheritDoc}

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

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.

This is a special implementation of undeploy command for Tomcat 5.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:
Tomcat4xRemoteDeployer.performUndeploy(org.codehaus.cargo.container.deployable.Deployable), AbstractTomcatManagerDeployer.performUndeploy(org.codehaus.cargo.container.deployable.Deployable)


Copyright © 2004-2008 Codehaus. All Rights Reserved.