org.apache.geronimo.deployment.cli
Class CommandDeploy

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

public class CommandDeploy
extends CommandDistribute

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

Version:
$Rev: 398160 $ $Date: 2006-04-29 16:33:58 +0200 (Sat, 29 Apr 2006) $

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

CommandDeploy

public CommandDeploy()
Method Detail

getAction

protected String getAction()
Overrides:
getAction in class CommandDistribute

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