public abstract class AbstractDeployer extends org.codehaus.cargo.util.log.LoggedObject implements Deployer
Constructor and Description |
---|
AbstractDeployer() |
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 deployables) |
void |
redeploy(Deployable deployable)
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. |
public void deploy(List 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 Deployer
deployable
- the Deployable
to deploymonitor
- the monitor that checks for deployment statusDeployer.deploy(Deployable, DeployableMonitor)
public void deploy(Deployable deployable)
Deployable
to the running container and make it available for requests.deploy
in interface Deployer
deployable
- 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 Deployer
deployable
- 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 Deployer
deployable
- 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 Deployer
deployable
- 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 Deployer
s based on the
AbstractCopyingInstalledLocalDeployer
.
redeploy
in interface Deployer
deployable
- the Deployable
to redeployDeployer.redeploy(Deployable)
Copyright © 2004-2013 Codehaus. All Rights Reserved.