org.codehaus.cargo.container.jetty
Class Jetty5xEmbeddedLocalDeployer

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.Jetty5xEmbeddedLocalDeployer
All Implemented Interfaces:
Deployer, Loggable

public class Jetty5xEmbeddedLocalDeployer
extends AbstractJettyEmbeddedLocalDeployer

Deploys webapps to a Jetty 5.x instance running embedded.

Version:
$Id: Jetty5xEmbeddedLocalDeployer.java 1160 2006-07-30 20:15:34Z vmassol $

Constructor Summary
Jetty5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
          
 
Method Summary
 java.lang.Object deployWebApp(Deployable deployable)
          Implement to perform the work of the deploy.
 void redeploy(Deployable deployable)
          
 void start(Deployable deployable)
          
 void stop(Deployable deployable)
          
 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
 
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

Jetty5xEmbeddedLocalDeployer

public Jetty5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)

See Also:
AbstractJettyEmbeddedLocalDeployer.AbstractJettyEmbeddedLocalDeployer(EmbeddedLocalContainer)
Method Detail

deployWebApp

public java.lang.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:
AbstractJettyEmbeddedLocalDeployer.deployWebApp(org.codehaus.cargo.container.deployable.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:
AbstractJettyEmbeddedLocalDeployer.undeployWebApp(org.codehaus.cargo.container.deployable.Deployable)

redeploy

public void redeploy(Deployable deployable)

Specified by:
redeploy in interface Deployer
Overrides:
redeploy in class AbstractDeployer
See Also:
Deployer.redeploy(org.codehaus.cargo.container.deployable.Deployable)

start

public void start(Deployable deployable)

Specified by:
start in interface Deployer
Overrides:
start in class AbstractDeployer
See Also:
Deployer.start(org.codehaus.cargo.container.deployable.Deployable)

stop

public void stop(Deployable deployable)

Specified by:
stop in interface Deployer
Overrides:
stop in class AbstractDeployer
See Also:
Deployer.stop(org.codehaus.cargo.container.deployable.Deployable)


Copyright © 2004-2011 Codehaus. All Rights Reserved.