|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void deploy(Deployable deployable)
Deployable
to the running container and make it available for requests.
deployable
- the Deployable
to deploypublic 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 statuspublic void undeploy(Deployable deployable)
Deployable
from the running container. The service becomes unavailable
for requests.
deployable
- the Deployable
to undeploypublic 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
.
deployable
- the Deployable
to redeploydeploy(Deployable)
,
undeploy(Deployable)
public void start(Deployable deployable)
Deployable
that is already deployed in the running container but that is
not servicing requests.
deployable
- the Deployable
to startpublic void stop(Deployable deployable)
Deployable
that is already deployed in the running container in order to
prevent it from servicing requests.
deployable
- the Deployable
to stoppublic DeployerType getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |