org.apache.geronimo.deployment.cli
Class CommandDeploy

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

public class CommandDeploy
extends CommandDistribute

The CLI deployer logic to deploy (distribute plus start).


Constructor Summary
CommandDeploy()
           
 
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

CommandDeploy

public CommandDeploy()
Method Detail

getAction

protected String getAction()
Overrides:
getAction in class CommandDistribute

runCommand

protected ProgressObject runCommand(DeploymentManager mgr,
                                    PrintWriter out,
                                    boolean inPlace,
                                    Target[] tlist,
                                    File module,
                                    File plan)
                             throws org.apache.geronimo.common.DeploymentException
Overrides:
runCommand in class CommandDistribute
Throws:
org.apache.geronimo.common.DeploymentException

execute

public void execute(PrintWriter out,
                    ServerConnection connection,
                    String[] args)
             throws org.apache.geronimo.common.DeploymentException
Specified by:
execute in interface DeployCommand
Overrides:
execute in class CommandDistribute
Throws:
org.apache.geronimo.common.DeploymentException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.