org.apache.geronimo.deployment.cli
Class DeployTool
java.lang.Object
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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
DeployTool
public DeployTool(Kernel kernel,
DeploymentFactory deploymentFactory)
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.