Class ListCommand

All Implemented Interfaces:
Command

public class ListCommand extends AbstractJmxCommand
  • Field Details

    • helpFile

      protected String[] helpFile
  • Constructor Details

    • ListCommand

      public ListCommand()
  • Method Details

    • getName

      public String getName()
    • getOneLineDescription

      public String getOneLineDescription()
    • runTask

      protected void runTask(List tokens) throws Exception
      List all running brokers registered in the specified JMX context
      Specified by:
      runTask in class AbstractCommand
      Parameters:
      tokens - - command arguments
      Throws:
      Exception
    • printHelp

      protected void printHelp()
      Print the help messages for the browse command
      Specified by:
      printHelp in class AbstractCommand