This discussion is archived
0 Replies Latest reply: Mar 6, 2012 2:42 PM by coherenceuser RSS

How do I change the underlying connector of PlatformBMeanServer

coherenceuser Newbie
Currently Being Moderated
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


  • Correct Answers - 10 points
  • Helpful Answers - 5 points