public class BrowseCommand extends AbstractJmxCommand
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
helpFile |
static String |
QUEUE_PREFIX |
static String |
TOPIC_PREFIX |
static String |
VIEW_GROUP_BODY |
static String |
VIEW_GROUP_CUSTOM |
static String |
VIEW_GROUP_HEADER |
DEFAULT_JMX_URLCOMMAND_OPTION_DELIMETER, context| Constructor and Description |
|---|
BrowseCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getOneLineDescription() |
protected void |
handleOption(String token,
List<String> tokens)
Handle the --msgsel, --xmsgsel, --view, -V options.
|
protected void |
printHelp()
Print the help messages for the browse command
|
protected void |
runTask(List<String> tokens)
Execute the browse command, which allows you to browse the messages in a
given JMS destination
|
closeJmxConnection, createJmxConnection, execute, findJMXUrlByProcessId, getJmxPassword, getJmxServiceUrl, getJmxUser, getJVM, isJmxUseLocal, isSunJVM, setJmxPassword, setJmxServiceUrl, setJmxServiceUrl, setJmxUseLocal, setJmxUser, useJmxServiceUrlparseOptions, printHelpFromFile, setCommandContextpublic static final String QUEUE_PREFIX
public static final String TOPIC_PREFIX
public static final String VIEW_GROUP_HEADER
public static final String VIEW_GROUP_CUSTOM
public static final String VIEW_GROUP_BODY
public BrowseCommand()
public String getOneLineDescription()
protected void runTask(List<String> tokens) throws Exception
runTask in class AbstractCommandtokens - - command argumentsExceptionprotected void handleOption(String token, List<String> tokens) throws Exception
handleOption in class AbstractJmxCommandtoken - - option token to handletokens - - succeeding command argumentsExceptionprotected void printHelp()
printHelp in class AbstractCommandCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.