public class ListCommand extends AbstractJmxCommand
Modifier and Type | Field and Description |
---|---|
protected String[] |
helpFile |
DEFAULT_JMX_URL
COMMAND_OPTION_DELIMETER, context
Constructor and Description |
---|
ListCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getOneLineDescription() |
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
|
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, handleOption, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrl
handleException, parseOptions, printHelpFromFile, setCommandContext
public ListCommand()
public String getOneLineDescription()
protected void runTask(List tokens) throws Exception
runTask
in class AbstractCommand
tokens
- - command argumentsException
protected void printHelp()
printHelp
in class AbstractCommand
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.