org.codehaus.cargo.container.jetty
Class Jetty4xEmbeddedLocalDeployer

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.AbstractLocalDeployer
              extended by org.codehaus.cargo.container.spi.deployer.AbstractEmbeddedLocalDeployer
                  extended by org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalDeployer
                      extended by org.codehaus.cargo.container.jetty.Jetty4xEmbeddedLocalDeployer
All Implemented Interfaces:
Deployer, Loggable

public class Jetty4xEmbeddedLocalDeployer
extends AbstractJettyEmbeddedLocalDeployer

Deployer to deploy to a Jetty 4.x (embedded) container.

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

Constructor Summary
Jetty4xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
          
 
Method Summary
 Object deployWebApp(Deployable deployable)
          Implement to perform the work of the deploy.
 void undeployWebApp(Deployable deployable)
          Implement to perform the work of the undeploy.
 
Methods inherited from class org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalDeployer
addDeployedWebAppContext, deploy, getContext, getCopyWebApp, getDeployedWebAppContext, getExtractWar, getParentLoaderPriority, getType, getVirtualHosts, removeDeployedWebAppContext, setCopyWebApp, setExtractWar, setParentLoaderPriority, setVirtualHosts, undeploy
 
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
getContainer, getFileHandler, setFileHandler
 
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
 
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

Jetty4xEmbeddedLocalDeployer

public Jetty4xEmbeddedLocalDeployer(EmbeddedLocalContainer container)

See Also:
AbstractJettyEmbeddedLocalDeployer.AbstractJettyEmbeddedLocalDeployer(EmbeddedLocalContainer)
Method Detail

deployWebApp

public Object deployWebApp(Deployable deployable)
Implement to perform the work of the deploy.

Specified by:
deployWebApp in class AbstractJettyEmbeddedLocalDeployer
Parameters:
deployable - the deployable
Returns:
the webapp object that was deployed
See Also:
Deployer.deploy(Deployable)

undeployWebApp

public void undeployWebApp(Deployable deployable)
Implement to perform the work of the undeploy.

Specified by:
undeployWebApp in class AbstractJettyEmbeddedLocalDeployer
Parameters:
deployable - the webapp to undeploy
See Also:
Deployer.undeploy(Deployable)


Copyright © 2004-2012 Codehaus. All Rights Reserved.