Class ListCommand
java.lang.Object
org.apache.activemq.console.command.AbstractCommand
org.apache.activemq.console.command.AbstractJmxCommand
org.apache.activemq.console.command.ListCommand
- All Implemented Interfaces:
Command
-
Field Summary
FieldsFields inherited from class org.apache.activemq.console.command.AbstractJmxCommand
DEFAULT_JMX_URLFields inherited from class org.apache.activemq.console.command.AbstractCommand
COMMAND_OPTION_DELIMETER, context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.activemq.console.command.AbstractJmxCommand
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, handleOption, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrlMethods inherited from class org.apache.activemq.console.command.AbstractCommand
handleException, parseOptions, printHelpFromFile, setCommandContext
-
Field Details
-
helpFile
-
-
Constructor Details
-
ListCommand
public ListCommand()
-
-
Method Details
-
getName
-
getOneLineDescription
-
runTask
List all running brokers registered in the specified JMX context- Specified by:
runTaskin classAbstractCommand- Parameters:
tokens- - command arguments- Throws:
Exception
-
printHelp
protected void printHelp()Print the help messages for the browse command- Specified by:
printHelpin classAbstractCommand
-