Class Jetty5xEmbeddedLocalDeployer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer
-
- org.codehaus.cargo.container.spi.deployer.AbstractEmbeddedLocalDeployer
-
- org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalDeployer
-
- org.codehaus.cargo.container.jetty.Jetty5xEmbeddedLocalDeployer
-
public class Jetty5xEmbeddedLocalDeployer extends AbstractJettyEmbeddedLocalDeployer
Deploys webapps to a Jetty 5.x instance running embedded.
-
-
Constructor Summary
Constructors Constructor Description Jetty5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
deployWebApp(Deployable deployable)
Implement to perform the work of the deploy.void
start(Deployable deployable)
Starts aDeployable
that is already deployed in the running container but that is not servicing requests.void
stop(Deployable deployable)
Stop aDeployable
that is already deployed in the running container in order to prevent it from servicing requests.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
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, redeploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
Jetty5xEmbeddedLocalDeployer
public Jetty5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
-
-
Method Detail
-
deployWebApp
public Object deployWebApp(Deployable deployable)
Implement to perform the work of the deploy.- Specified by:
deployWebApp
in classAbstractJettyEmbeddedLocalDeployer
- Parameters:
deployable
- the deployable- Returns:
- the webapp object that was deployed
-
undeployWebApp
public void undeployWebApp(Deployable deployable)
Implement to perform the work of the undeploy.- Specified by:
undeployWebApp
in classAbstractJettyEmbeddedLocalDeployer
- Parameters:
deployable
- the webapp to undeploy
-
start
public void start(Deployable deployable)
Starts aDeployable
that is already deployed in the running container but that is not servicing requests.- Specified by:
start
in interfaceDeployer
- Overrides:
start
in classAbstractDeployer
- Parameters:
deployable
- theDeployable
to start
-
stop
public void stop(Deployable deployable)
Stop aDeployable
that is already deployed in the running container in order to prevent it from servicing requests.- Specified by:
stop
in interfaceDeployer
- Overrides:
stop
in classAbstractDeployer
- Parameters:
deployable
- theDeployable
to stop
-
-