org.apache.geronimo.deployment.cli
Class DeployTool

java.lang.Object
  extended by org.apache.geronimo.deployment.cli.DeployTool
All Implemented Interfaces:
Main

public class DeployTool
extends Object
implements Main

The main class for the CLI deployer. Handles chunking the input arguments and formatting help text and maintaining the list of individual commands. Uses a ServerConnection to handle the server connection and arguments, and a list of DeployCommands to manage the details of the various available commands. Returns 0 normally, or 1 of any exceptions or error messages were generated (whether for syntax or other failure).


Field Summary
static GBeanInfo GBEAN_INFO
           
static String GBEAN_REF_DEPLOYMENT_FACTORY
           
 
Constructor Summary
DeployTool(Kernel kernel, DeploymentFactory deploymentFactory)
           
 
Method Summary
 int execute(Object opaque)
           
static GBeanInfo getGBeanInfo()
           
static String[] splitCommand(String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO

GBEAN_REF_DEPLOYMENT_FACTORY

public static final String GBEAN_REF_DEPLOYMENT_FACTORY
See Also:
Constant Field Values
Constructor Detail

DeployTool

public DeployTool(Kernel kernel,
                  DeploymentFactory deploymentFactory)
Method Detail

execute

public int execute(Object opaque)
Specified by:
execute in interface Main

splitCommand

public static String[] splitCommand(String line)

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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