org.apache.geronimo.deployment.cli
Class CommandDistribute

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

public class CommandDistribute
extends AbstractCommand

The CLI deployer logic to distribute.


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  ProgressObject runCommand(DeploymentManager mgr, PrintWriter out, boolean inPlace, 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 ProgressObject runCommand(DeploymentManager mgr,
                                    PrintWriter out,
                                    boolean inPlace,
                                    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 © 2006 Apache Software Foundation. All Rights Reserved.