I omitted the getMbeanServer() since it is environment dependent. A oneliner 
approach to getting the default server is like this:

private MBeanServer getMBeanServer() {
  |     return ManagementFactory.getPlatformMBeanServer();
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060913#4060913

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060913
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to