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:
- Runnable, ProgressObject
- Direct Known Subclasses:
- DistributeCommand, RedeployCommand
public abstract class AbstractDeployCommand
- extends CommandSupport
Methods inherited from class org.apache.geronimo.deployment.plugin.local.CommandSupport |
addModule, addProgressListener, addWebContextPaths, addWebURLs, cancel, clean, complete, convertModuleType, doFail, fail, getClientConfiguration, getCommandContext, getDeploymentStatus, getModuleCount, getResultTargetModuleIDs, isCancelSupported, isStopSupported, isWebApp, loadChildren, removeProgressListener, setCommandContext, stop, updateStatus |
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 |
kernel
protected final Kernel kernel
spool
protected final boolean spool
moduleArchive
protected File moduleArchive
deploymentPlan
protected File deploymentPlan
moduleType
protected final ModuleType moduleType
moduleStream
protected InputStream moduleStream
deploymentStream
protected InputStream deploymentStream
deployer
protected AbstractName deployer
AbstractDeployCommand
public AbstractDeployCommand(CommandType command,
Kernel kernel,
File moduleArchive,
File deploymentPlan,
ModuleType moduleType,
InputStream moduleStream,
InputStream deploymentStream,
boolean spool)
createTempFile
protected static File createTempFile(String extension)
throws IOException
- Throws:
IOException
copyTo
protected void copyTo(File outfile,
InputStream is)
throws IOException
- Throws:
IOException
doDeploy
protected void doDeploy(Target target,
boolean finished)
throws Exception
- Throws:
Exception
massageFileNames
protected void massageFileNames(File[] inputs)
getRemoteDeployUploadURL
public URL getRemoteDeployUploadURL()
throws Exception
- Throws:
Exception
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.