public abstract class AbstractSwitchableLocalDeployer extends AbstractInstalledLocalDeployer
| Constructor and Description |
|---|
AbstractSwitchableLocalDeployer(InstalledLocalContainer container) |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(Deployable deployable)
Deploy a
Deployable to the running container and make it available for requests. |
protected abstract Deployer |
getColdDeployer()
this deployer will be used when the server is not running.
|
protected abstract Deployer |
getHotDeployer()
this deployer will be used when the server is running.
|
void |
undeploy(Deployable deployable)
Undeploy a
Deployable from the running container. |
getTypegetContainer, getFileHandlerdeploy, deploy, redeploy, redeploy, start, start, stop, stop, undeploygetLogger, setLoggerpublic AbstractSwitchableLocalDeployer(InstalledLocalContainer container)
protected abstract Deployer getHotDeployer()
protected abstract Deployer getColdDeployer()
public void deploy(Deployable deployable)
Deployable to the running container and make it available for requests. deploys via hotDeployer, if the server is started or starting. Otherwise, it
uses the coldDeployer.deploy in interface Deployerdeploy in class AbstractDeployerdeployable - - what to deployAbstractDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)public void undeploy(Deployable deployable)
Deployable from the running container. The service becomes unavailable for
requests. undeploys via hotDeployer, if the server is started or starting. Otherwise, it
uses the coldDeployer.undeploy in interface Deployerundeploy in class AbstractDeployerdeployable - - what to undeployAbstractDeployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)Copyright © 2004-2013 Codehaus. All Rights Reserved.