org.apache.activemq.console.command
Class BstatCommand

java.lang.Object
  extended by org.apache.activemq.console.command.AbstractCommand
      extended by org.apache.activemq.console.command.AbstractJmxCommand
          extended by org.apache.activemq.console.command.QueryCommand
              extended by org.apache.activemq.console.command.BstatCommand
All Implemented Interfaces:
Command

public class BstatCommand
extends QueryCommand


Field Summary
protected  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
BstatCommand()
           
 
Method Summary
 String getName()
           
 String getOneLineDescription()
           
protected  void printHelp()
          Print the help messages for the browse command
protected  void runTask(List<String> tokens)
          Performs a predefiend query option
 
Methods inherited from class org.apache.activemq.console.command.QueryCommand
handleOption
 
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

helpFile

protected String[] helpFile
Constructor Detail

BstatCommand

public BstatCommand()
Method Detail

getName

public String getName()
Specified by:
getName in interface Command
Overrides:
getName in class QueryCommand

getOneLineDescription

public String getOneLineDescription()
Specified by:
getOneLineDescription in interface Command
Overrides:
getOneLineDescription in class QueryCommand

runTask

protected void runTask(List<String> tokens)
                throws Exception
Performs a predefiend query option

Overrides:
runTask in class QueryCommand
Parameters:
tokens - - command arguments
Throws:
Exception

printHelp

protected void printHelp()
Print the help messages for the browse command

Overrides:
printHelp in class QueryCommand


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.