public class GeronimoInstalledLocalDeployer extends AbstractInstalledLocalDeployer
| Constructor and Description |
|---|
GeronimoInstalledLocalDeployer(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. |
void |
deployExtraClasspath(String[] extraClasspath)
Deploys extra classpath elements to the Geronimo classpath.
|
void |
deployRar(String id,
File planFile)
Deploys a RAR plan.
|
protected AntUtils |
getAntUtils() |
protected InstalledLocalContainer |
getInstalledContainer() |
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 |
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. |
getTypegetContainer, getFileHandlerdeploy, deploy, start, stop, undeploygetLogger, setLoggerpublic GeronimoInstalledLocalDeployer(InstalledLocalContainer container)
AbstractInstalledLocalDeployer#AbstractInstalledLocalDeployer(org.codehaus.cargo.container.InstalledLocalContainer)protected final AntUtils getAntUtils()
protected InstalledLocalContainer getInstalledContainer()
AbstractLocalDeployer.getContainer() but more type-safe.public void deployExtraClasspath(String[] extraClasspath) throws IOException
extraClasspath - Classpath elements to deployIOException - If the files in the extra classpath cannot be readpublic void deploy(Deployable deployable)
Deployable to the running container and make it available for requests.deploy in interface Deployerdeploy in class AbstractDeployerdeployable - the Deployable to deployDeployer.deploy(org.codehaus.cargo.container.deployable.Deployable)public void deployRar(String id, File planFile)
id - Plan identifier (used for undeploying previous instance if required).planFile - XML file of plan.public void start(Deployable deployable)
Deployable that is already deployed in the running container but that is not
servicing requests.start in interface Deployerstart in class AbstractDeployerdeployable - the Deployable to startDeployer.start(org.codehaus.cargo.container.deployable.Deployable)public void stop(Deployable deployable)
Deployable that is already deployed in the running container in order to
prevent it from servicing requests.stop in interface Deployerstop in class AbstractDeployerdeployable - the Deployable to stopDeployer.stop(org.codehaus.cargo.container.deployable.Deployable)public void undeploy(Deployable deployable)
Deployable from the running container. The service becomes unavailable for
requests.undeploy in interface Deployerundeploy in class AbstractDeployerdeployable - the Deployable to undeployDeployer.undeploy(org.codehaus.cargo.container.deployable.Deployable)public 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 Deployers based on the
AbstractCopyingInstalledLocalDeployer.
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - the Deployable to redeployDeployer.redeploy(org.codehaus.cargo.container.deployable.Deployable)public 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.
redeploy in interface Deployerredeploy in class AbstractDeployerdeployable - the Deployable to redeploymonitor - the monitor that checks for deployment statusDeployer.redeploy(org.codehaus.cargo.container.deployable.Deployable, org.codehaus.cargo.container.deployer.DeployableMonitor)Copyright © 2004-2013 Codehaus. All Rights Reserved.