public interface Deployer extends 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 |
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. |
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 undeploy(Deployable deployable, DeployableMonitor monitor)
Deployable to the running container. Waits for the Deployable to
be fully undeployed before returning.deployable - the Deployable to deploymonitor - the monitor that checks for deployment statusvoid 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 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.
deployable - the Deployable to redeploymonitor - the monitor that checks for deployment statusdeploy(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 start(Deployable deployable, DeployableMonitor monitor)
Deployable that is already deployed in the running container but that is not
servicing requests.deployable - the Deployable to startmonitor - the monitor that checks for start statusvoid stop(Deployable deployable)
Deployable that is already deployed in the running container in order to
prevent it from servicing requests.deployable - the Deployable to stopvoid stop(Deployable deployable, DeployableMonitor monitor)
Deployable that is already deployed in the running container in order to
prevent it from servicing requests.deployable - the Deployable to stopmonitor - the monitor that checks for stop statusDeployerType getType()
Copyright © 2004-2013 Codehaus. All Rights Reserved.