Class 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 Detail

      • JMXProxy

        public JMXProxy()
    • 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 class ToolRunnerBase
        Returns:
        An implementation of the SimpleCmdlineTool interface.