org.apache.geronimo.deployment.cli
Class DeployTool

java.lang.Object
  extended by org.apache.geronimo.deployment.cli.DeployTool

public class DeployTool
extends Object

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).


Constructor Summary
DeployTool()
           
 
Method Summary
 boolean execute(String[] args)
           
static void main(String[] args)
           
static void registerCommand(DeployCommand command)
           
static String[] splitCommand(String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployTool

public DeployTool()
Method Detail

registerCommand

public static void registerCommand(DeployCommand command)

execute

public boolean execute(String[] args)

splitCommand

public static String[] splitCommand(String line)

main

public static void main(String[] args)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.