public abstract class AbstractDeployer extends LoggedObject implements Deployer
| Constructor and Description |
|---|
AbstractDeployer(Container container) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(Deployable deployable)
Deploy a
Deployable to the running container and make it available for requests. |
void |
deploy(Deployable deployable,
DeployableMonitor monitor)
Deploy a
Deployable to the running container and make it available for requests. |
void |
deploy(List<Deployable> deployables) |
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 |
start(Deployable deployable,
DeployableMonitor monitor)
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 |
stop(Deployable deployable,
DeployableMonitor monitor)
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. |
void |
undeploy(Deployable deployable,
DeployableMonitor monitor)
Undeploy a
Deployable to the running container. |
getLogger, setLoggerpublic AbstractDeployer(Container container)
container - the container into which to perform deployment operationspublic void deploy(List<Deployable> deployables)
deploy(Deployable)public void deploy(Deployable deployable, DeployableMonitor monitor)
Deployable to the running container and make it available for requests.
Waits for the Deployable to be fully deployed before returning.deploy in interface Deployerdeployable - the Deployable to deploymonitor - the monitor that checks for deployment statusDeployer.deploy(Deployable, DeployableMonitor)public void undeploy(Deployable deployable, DeployableMonitor monitor)
Deployable to the running container. Waits for the Deployable to
be fully undeployed before returning.undeploy in interface Deployerdeployable - the Deployable to deploymonitor - the monitor that checks for deployment statusDeployer.undeploy(Deployable, DeployableMonitor)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 Deployerdeployable - the Deployable to redeploymonitor - the monitor that checks for deployment statusDeployer.redeploy(Deployable, DeployableMonitor)public void start(Deployable deployable, DeployableMonitor monitor)
Deployable that is already deployed in the running container but that is not
servicing requests.start in interface Deployerdeployable - the Deployable to startmonitor - the monitor that checks for start statusDeployer.start(Deployable, DeployableMonitor)public void stop(Deployable deployable, DeployableMonitor monitor)
Deployable that is already deployed in the running container in order to
prevent it from servicing requests.stop in interface Deployerdeployable - the Deployable to stopmonitor - the monitor that checks for stop statusDeployer.stop(Deployable, DeployableMonitor)public void deploy(Deployable deployable)
Deployable to the running container and make it available for requests.deploy in interface Deployerdeployable - the Deployable to deployDeployer.deploy(Deployable)public void start(Deployable deployable)
Deployable that is already deployed in the running container but that is not
servicing requests.start in interface Deployerdeployable - the Deployable to startDeployer.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 Deployerdeployable - the Deployable to stopDeployer.stop(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 Deployerdeployable - the Deployable to undeployDeployer.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 Deployerdeployable - the Deployable to redeployDeployer.redeploy(Deployable)Copyright © 2004-2013 Codehaus. All Rights Reserved.