dk.netarkivet.monitor.tools
Class JMXProxy

java.lang.Object
  extended by dk.netarkivet.common.tools.ToolRunnerBase
      extended by dk.netarkivet.monitor.tools.JMXProxy

public class JMXProxy
extends ToolRunnerBase

This tool will simply reregister all MBeans that matches the given query from the JMX hosts read in settings, using its own platformmbeanserver. It will then wait forever. It can then be connected to with any JMX client, e.g. jconsole. Start this tool with -Dcom.sun.management.jmxremote


Constructor Summary
JMXProxy()
           
 
Method Summary
static void main(java.lang.String[] args)
          Run the tool as described in class comment.
protected  SimpleCmdlineTool makeMyTool()
          Factory method.
 
Methods inherited from class dk.netarkivet.common.tools.ToolRunnerBase
runTheTool, showMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXProxy

public JMXProxy()
Method Detail

main

public static void main(java.lang.String[] args)
Run the tool as described in class comment.

Parameters:
args - Should take one arg, the query.

makeMyTool

protected SimpleCmdlineTool makeMyTool()
Factory method. Creates and returns the actual workhorse that does the job.

Specified by:
makeMyTool in class ToolRunnerBase
Returns:
An implementation of the SimpleCmdlineTool interface.