|
||||||||||
| 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.AbstractJmxCommand
org.apache.activemq.console.command.QueryCommand
public class QueryCommand
| Field Summary | |
|---|---|
protected java.lang.String[] |
helpFile
|
| Fields inherited from class org.apache.activemq.console.command.AbstractJmxCommand |
|---|
DEFAULT_JMX_URL |
| Fields inherited from class org.apache.activemq.console.command.AbstractCommand |
|---|
COMMAND_OPTION_DELIMETER, context |
| Constructor Summary | |
|---|---|
QueryCommand()
|
|
| Method Summary | |
|---|---|
protected void |
handleOption(java.lang.String token,
java.util.List<java.lang.String> tokens)
Handle the -Q, -xQ, --objname, --xobjname, --view options. |
protected void |
printHelp()
Print the help messages for the browse command |
protected void |
runTask(java.util.List<java.lang.String> tokens)
Queries the mbeans registered in the specified JMX context |
| Methods inherited from class org.apache.activemq.console.command.AbstractJmxCommand |
|---|
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrl |
| Methods inherited from class org.apache.activemq.console.command.AbstractCommand |
|---|
parseOptions, setCommandContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String[] helpFile
| Constructor Detail |
|---|
public QueryCommand()
| Method Detail |
|---|
protected void runTask(java.util.List<java.lang.String> tokens)
throws java.lang.Exception
runTask in class AbstractCommandtokens - - command arguments
java.lang.Exception
protected void handleOption(java.lang.String token,
java.util.List<java.lang.String> tokens)
throws java.lang.Exception
handleOption in class AbstractJmxCommandtoken - - option token to handletokens - - succeeding command arguments
java.lang.Exceptionprotected void printHelp()
printHelp in class AbstractCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||