0 Replies Latest reply: Mar 6, 2012 4:42 PM by coherenceuser RSS

    How do I change the underlying connector of PlatformBMeanServer

      I have a piece of code:

      MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
      ObjectName name = new ObjectName("com.example:type=Hello");
      Hello mbean = new Hello();
      mbs.registerMBean(mbean, name);

      Now, I want to plug-in a different connector to the platform mbean server. (I do not want to use RMI)
      Is this possible at all without any code changes? (using JMXConnectorServerProvider etc)

      Thank You