org.apache.activemq.console.command
Class StartCommand

java.lang.Object
  extended by org.apache.activemq.console.command.AbstractCommand
      extended by org.apache.activemq.console.command.StartCommand
All Implemented Interfaces:
Command

public class StartCommand
extends AbstractCommand


Field Summary
static String DEFAULT_CONFIG_URI
           
protected  String[] helpFile
           
 
Fields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context
 
Constructor Summary
StartCommand()
           
 
Method Summary
 String getName()
           
 String getOneLineDescription()
           
protected  void printHelp()
          Print the help messages for the browse command
protected  void runTask(List<String> brokerURIs)
          The default task to start a broker or a group of brokers
 
Methods inherited from class org.apache.activemq.console.command.AbstractCommand
execute, handleOption, parseOptions, setCommandContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CONFIG_URI

public static final String DEFAULT_CONFIG_URI
See Also:
Constant Field Values

helpFile

protected String[] helpFile
Constructor Detail

StartCommand

public StartCommand()
Method Detail

getName

public String getName()

getOneLineDescription

public String getOneLineDescription()

runTask

protected void runTask(List<String> brokerURIs)
                throws Exception
The default task to start a broker or a group of brokers

Specified by:
runTask in class AbstractCommand
Parameters:
brokerURIs -
Throws:
Exception

printHelp

protected void printHelp()
Print the help messages for the browse command

Specified by:
printHelp in class AbstractCommand


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.