public class Tomcat5xEmbeddedLocalDeployer extends AbstractLocalDeployer
Deployer for deploying to
embedded Tomcat container.| Constructor and Description |
|---|
Tomcat5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
Creates a new deployer for
Tomcat5xEmbeddedLocalContainer. |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(Deployable deployable)
Deploy a
Deployable to the running container and make it available for requests. |
DeployerType |
getType() |
void |
redeploy(Deployable deployable)
Redeploy a
Deployable already deployed to the running container. |
void |
redeploy(Deployable deployable,
DeployableMonitor monitor)
Redeploy a
Deployable already deployed to the running container. |
void |
start(Deployable deployable)
Starts a
Deployable that is already deployed in the running container but that is not
servicing requests. |
void |
stop(Deployable deployable)
Stop a
Deployable that is already deployed in the running container in order to
prevent it from servicing requests. |
void |
undeploy(Deployable deployable)
Undeploy a
Deployable from the running container. |
getContainer, getFileHandlerdeploy, deploy, start, stop, undeploygetLogger, setLoggerpublic Tomcat5xEmbeddedLocalDeployer(EmbeddedLocalContainer container)
Tomcat5xEmbeddedLocalContainer.container - The container to which this deployer will work. This parameter is typed as
EmbeddedLocalContainer due to the Cargo generic API requirement, but it has to be a
Tomcat5xEmbeddedLocalContainer.public void deploy(Deployable deployable)
Deployable to the running container and make it available for requests.deploy in interface Deployerdeploy in class AbstractDeployerdeployable - the Deployable to deployAbstractDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)public void undeploy(Deployable deployable)
Deployable from the running container. The service becomes unavailable for
requests.undeploy in interface Deployerundeploy in class AbstractDeployerdeployable - the Deployable to undeployAbstractDeployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)public void redeploy(Deployable deployable)
Redeploy a Deployable already deployed to the running container. The service becomes
available for requests.
Note that this method will be unsupported by the Deployers based on the
AbstractCopyingInstalledLocalDeployer.
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - the Deployable to redeployAbstractDeployer.redeploy(org.codehaus.cargo.container.deployable.Deployable)public void redeploy(Deployable deployable, DeployableMonitor monitor)
Redeploy a Deployable already deployed to the running container. The service becomes
available for requests.
Note that this method will be unsupported by the Deployers based on the
AbstractCopyingInstalledLocalDeployer.
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - the Deployable to redeploymonitor - the monitor that checks for deployment statusAbstractDeployer.redeploy(org.codehaus.cargo.container.deployable.Deployable, org.codehaus.cargo.container.deployer.DeployableMonitor)public void start(Deployable deployable)
Deployable that is already deployed in the running container but that is not
servicing requests.start in interface Deployerstart in class AbstractDeployerdeployable - the Deployable to startAbstractDeployer.start(org.codehaus.cargo.container.deployable.Deployable)public void stop(Deployable deployable)
Deployable that is already deployed in the running container in order to
prevent it from servicing requests.stop in interface Deployerstop in class AbstractDeployerdeployable - the Deployable to stopAbstractDeployer.stop(org.codehaus.cargo.container.deployable.Deployable)public DeployerType getType()
Deployer.getType()Copyright © 2004-2013 Codehaus. All Rights Reserved.