public class ListCommand extends AbstractJmxCommand
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
helpFile |
DEFAULT_JMX_URLCOMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
ListCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
printHelp()
Print the help messages for the browse command
|
protected void |
runTask(java.util.List tokens)
List all running brokers registered in the specified JMX context
|
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, handleOption, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrlparseOptions, setCommandContextprotected java.lang.String[] helpFile
public ListCommand()
protected void runTask(java.util.List tokens) throws java.lang.Exception
runTask in class AbstractCommandtokens - - command argumentsjava.lang.Exceptionprotected void printHelp()
printHelp in class AbstractCommandCopyright © 2005-2012. All Rights Reserved.