|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deployer
API to manage all deployment aspects of Deployable: deploy, undeploy, start, stop
and restart.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
|---|
getLogger, setLogger |
| Method Detail |
|---|
void deploy(Deployable deployable)
Deployable to the running container and make it available for requests.
deployable - the Deployable to deploy
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.
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||