public abstract class AbstractGlassFishInstalledLocalDeployer extends AbstractLocalDeployer
| Constructor and Description |
|---|
AbstractGlassFishInstalledLocalDeployer(InstalledLocalContainer localContainer)
Calls parent constructor, which saves the container.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConnectOptions(List<String> args)
Adds connection options.
|
protected String |
cutExtension(String name)
Returns a filename without its extension.
|
void |
deploy(Deployable deployable)
Deploy a
Deployable to the running container and make it available for requests. |
abstract void |
deployDatasource(DataSource dataSource)
Deploy a datasource.
|
protected abstract void |
doDeploy(Deployable deployable,
boolean overwrite)
Does the actual deployment.
|
protected AbstractGlassFishInstalledLocalContainer |
getLocalContainer()
Casts the container and returns.
|
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 |
stop(Deployable deployable)
Stop a
Deployable that is already deployed in the running container in order to
prevent it from servicing requests. |
getContainer, getFileHandlerdeploy, deploy, start, stop, undeploy, undeploygetLogger, setLoggerpublic AbstractGlassFishInstalledLocalDeployer(InstalledLocalContainer localContainer)
localContainer - Container.protected AbstractGlassFishInstalledLocalContainer getLocalContainer()
public DeployerType getType()
public 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(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(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(Deployable, DeployableMonitor)protected abstract void doDeploy(Deployable deployable, boolean overwrite)
deployable - Deployable to deploy.overwrite - Whether to overwrite.public abstract void deployDatasource(DataSource dataSource)
dataSource - Datasource to deploy.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)protected String cutExtension(String name)
name - Filename.Copyright © 2004-2013 Codehaus. All Rights Reserved.