Package dk.netarkivet.monitor.tools
Class JMXProxy
- java.lang.Object
-
- dk.netarkivet.common.tools.ToolRunnerBase
-
- 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
Constructors Constructor Description JMXProxy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(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
-
-
-
-
Method Detail
-
main
public static void main(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 classToolRunnerBase
- Returns:
- An implementation of the SimpleCmdlineTool interface.
-
-