posted 9 years ago
I need to expose a wide variety of beans for manipulation via jconsole. It seems like what I need is a cross between Dynamic MBeans (to reflectively generate the variety) and MXBeans (to expose open types). I see a tantalizing recommendation to implement MXBeans as Dynamic MBeans in the JavaDoc for the ManagementFactory class (http://developer.apple.com/documentation/Java/Reference/1.5.0/doc/api/java/lang/management/ManagementFactory.html) but can't find any elaboration. Can anyone provide tips or pointers to discussion/examples?