public interface Deployer
extends org.codehaus.cargo.util.log.Loggable
Deployable: deploy, undeploy, start, stop
and restart.| 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. |
DeployerType |
getType() |
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. |
void deploy(Deployable deployable)
Deployable to the running container and make it available for requests.deployable - the Deployable to deployvoid 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.deployable - the Deployable to deploymonitor - the monitor that checks for deployment statusvoid undeploy(Deployable deployable)
Deployable from the running container. The service becomes unavailable
for requests.deployable - the Deployable to undeployvoid 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.
deployable - the Deployable to redeploydeploy(Deployable),
undeploy(Deployable)void start(Deployable deployable)
Deployable that is already deployed in the running container but that is
not servicing requests.deployable - the Deployable to startvoid stop(Deployable deployable)
Deployable that is already deployed in the running container in order to
prevent it from servicing requests.deployable - the Deployable to stopDeployerType getType()
Copyright © 2004-2013 Codehaus. All Rights Reserved.