org.apache.geronimo.deployment.cli
Class CommandDistribute

java.lang.Object
  extended byorg.apache.geronimo.deployment.cli.AbstractCommand
      extended byorg.apache.geronimo.deployment.cli.CommandDistribute
All Implemented Interfaces:
DeployCommand
Direct Known Subclasses:
CommandDeploy

public class CommandDistribute
extends AbstractCommand

The CLI deployer logic to distribute.

Version:
$Rev: 405624 $ $Date: 2006-05-10 06:08:49 +0200 (Wed, 10 May 2006) $

Constructor Summary
  CommandDistribute()
           
protected CommandDistribute(String command, String group, String helpArgumentList, String helpText)
           
 
Method Summary
 void execute(PrintWriter out, ServerConnection connection, String[] args)
           
protected  String getAction()
           
protected  javax.enterprise.deploy.spi.status.ProgressObject runCommand(javax.enterprise.deploy.spi.DeploymentManager mgr, PrintWriter out, boolean inPlace, javax.enterprise.deploy.spi.Target[] tlist, File module, File plan)
           
 
Methods inherited from class org.apache.geronimo.deployment.cli.AbstractCommand
emit, getCommandGroup, getCommandName, getHelpArgumentList, getHelpText, identifyTargets, isLocalOnly, isMultipleTargets, setOut, waitForProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandDistribute

public CommandDistribute()

CommandDistribute

protected CommandDistribute(String command,
                            String group,
                            String helpArgumentList,
                            String helpText)
Method Detail

runCommand

protected javax.enterprise.deploy.spi.status.ProgressObject runCommand(javax.enterprise.deploy.spi.DeploymentManager mgr,
                                                                       PrintWriter out,
                                                                       boolean inPlace,
                                                                       javax.enterprise.deploy.spi.Target[] tlist,
                                                                       File module,
                                                                       File plan)
                                                                throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getAction

protected String getAction()

execute

public void execute(PrintWriter out,
                    ServerConnection connection,
                    String[] args)
             throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.