org.apache.activemq.console.command
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
public class ListCommand
- extends AbstractJmxCommand
Method Summary |
protected void |
printHelp()
Print the help messages for the browse command |
protected void |
runTask(List tokens)
List all running brokers registered in the specified JMX context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
helpFile
protected String[] helpFile
ListCommand
public ListCommand()
runTask
protected void runTask(List tokens)
throws Exception
- List all running brokers registered in the specified JMX context
- Specified by:
runTask
in class AbstractCommand
- Parameters:
tokens
- - command arguments
- Throws:
Exception
printHelp
protected void printHelp()
- Print the help messages for the browse command
- Specified by:
printHelp
in class AbstractCommand
Copyright © 2011 Apache Software Foundation. All Rights Reserved.