|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.console.command.AbstractCommand
org.apache.activemq.console.command.StartCommand
public class StartCommand
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CONFIG_URI
|
protected java.lang.String[] |
helpFile
|
Fields inherited from class org.apache.activemq.console.command.AbstractCommand |
---|
COMMAND_OPTION_DELIMETER, context |
Constructor Summary | |
---|---|
StartCommand()
|
Method Summary | |
---|---|
java.net.URI |
getConfigUri()
Gets the current configuration URI used by the start task |
protected void |
printHelp()
Print the help messages for the browse command |
protected void |
runTask(java.util.List<java.lang.String> brokerURIs)
The default task to start a broker or a group of brokers |
void |
setConfigUri(java.net.URI uri)
Sets the current configuration URI used by the start task |
void |
startBroker(java.net.URI configURI)
Create and run a broker specified by the given configuration URI |
protected void |
waitForShutdown()
Wait for a shutdown invocation elsewhere |
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 |
---|
public static final java.lang.String DEFAULT_CONFIG_URI
protected java.lang.String[] helpFile
Constructor Detail |
---|
public StartCommand()
Method Detail |
---|
protected void runTask(java.util.List<java.lang.String> brokerURIs) throws java.lang.Exception
runTask
in class AbstractCommand
brokerURIs
-
java.lang.Exception
public void startBroker(java.net.URI configURI) throws java.lang.Exception
configURI
-
java.lang.Exception
protected void waitForShutdown() throws java.lang.Exception
java.lang.Exception
public void setConfigUri(java.net.URI uri)
uri
- public java.net.URI getConfigUri()
protected void printHelp()
printHelp
in class AbstractCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |