org.apache.geronimo.deployment.plugin.local
Class AbstractDeployCommand
java.lang.Object
org.apache.geronimo.deployment.plugin.local.CommandSupport
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand
- All Implemented Interfaces:
- javax.enterprise.deploy.spi.status.ProgressObject, java.lang.Runnable
- Direct Known Subclasses:
- DistributeCommand, RedeployCommand
- public abstract class AbstractDeployCommand
- extends CommandSupport
- Version:
- $Rev: 190584 $ $Date: 2005-06-14 10:47:00 -0400 (Tue, 14 Jun 2005) $
| Nested classes inherited from class org.apache.geronimo.deployment.plugin.local.CommandSupport |
|
| Fields inherited from class org.apache.geronimo.deployment.plugin.local.CommandSupport |
|
|
Constructor Summary |
AbstractDeployCommand(javax.enterprise.deploy.shared.CommandType command,
Kernel kernel,
java.io.File moduleArchive,
java.io.File deploymentPlan,
java.io.InputStream moduleStream,
java.io.InputStream deploymentStream,
boolean spool)
|
|
Method Summary |
protected void |
copyTo(java.io.File outfile,
java.io.InputStream is)
|
protected void |
doDeploy(javax.management.ObjectName deployer,
javax.enterprise.deploy.spi.Target target)
|
protected javax.management.ObjectName |
getDeployerName()
|
| Methods inherited from class org.apache.geronimo.deployment.plugin.local.CommandSupport |
addModule, addProgressListener, cancel, complete, doFail, fail, getClientConfiguration, getCommandContext, getDeploymentStatus, getResultTargetModuleIDs, isCancelSupported, isStopSupported, removeProgressListener, setCommandContext, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
DEPLOYER_NAME
private static final java.lang.String DEPLOYER_NAME
- See Also:
- Constant Field Values
kernel
protected final Kernel kernel
DEPLOY_SIG
private static final java.lang.String[] DEPLOY_SIG
spool
protected final boolean spool
moduleArchive
protected java.io.File moduleArchive
deploymentPlan
protected java.io.File deploymentPlan
moduleStream
protected java.io.InputStream moduleStream
deploymentStream
protected java.io.InputStream deploymentStream
AbstractDeployCommand
public AbstractDeployCommand(javax.enterprise.deploy.shared.CommandType command,
Kernel kernel,
java.io.File moduleArchive,
java.io.File deploymentPlan,
java.io.InputStream moduleStream,
java.io.InputStream deploymentStream,
boolean spool)
getDeployerName
protected javax.management.ObjectName getDeployerName()
copyTo
protected void copyTo(java.io.File outfile,
java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
doDeploy
protected void doDeploy(javax.management.ObjectName deployer,
javax.enterprise.deploy.spi.Target target)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005 Apache Software Foundation. All Rights Reserved.