org.apache.geronimo.deployment.plugin.local
Class AbstractDeployCommand

java.lang.Object
  extended by org.apache.geronimo.deployment.plugin.local.CommandSupport
      extended by org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand
All Implemented Interfaces:
Runnable, ProgressObject
Direct Known Subclasses:
DistributeCommand, RedeployCommand

public abstract class AbstractDeployCommand
extends CommandSupport


Field Summary
protected  org.apache.geronimo.gbean.AbstractName deployer
           
protected  File deploymentPlan
           
protected  InputStream deploymentStream
           
protected  org.apache.geronimo.kernel.Kernel kernel
           
protected  File moduleArchive
           
protected  InputStream moduleStream
           
protected  boolean spool
           
 
Fields inherited from class org.apache.geronimo.deployment.plugin.local.CommandSupport
commandContext
 
Constructor Summary
AbstractDeployCommand(CommandType command, org.apache.geronimo.kernel.Kernel kernel, File moduleArchive, File deploymentPlan, InputStream moduleStream, InputStream deploymentStream, boolean spool)
           
 
Method Summary
protected  void copyTo(File outfile, InputStream is)
           
protected  void doDeploy(Target target, boolean finished)
           
 URL getRemoteDeployUploadURL()
           
protected  void massageFileNames(File[] inputs)
           
 
Methods inherited from class org.apache.geronimo.deployment.plugin.local.CommandSupport
addModule, addProgressListener, addWebURLs, 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
 

Field Detail

kernel

protected final org.apache.geronimo.kernel.Kernel kernel

spool

protected final boolean spool

moduleArchive

protected File moduleArchive

deploymentPlan

protected File deploymentPlan

moduleStream

protected InputStream moduleStream

deploymentStream

protected InputStream deploymentStream

deployer

protected org.apache.geronimo.gbean.AbstractName deployer
Constructor Detail

AbstractDeployCommand

public AbstractDeployCommand(CommandType command,
                             org.apache.geronimo.kernel.Kernel kernel,
                             File moduleArchive,
                             File deploymentPlan,
                             InputStream moduleStream,
                             InputStream deploymentStream,
                             boolean spool)
Method Detail

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 © 2006 Apache Software Foundation. All Rights Reserved.