[jboss-user] [JBossCache] - Re: 2.0 and JMX

FredrikJ do-not-reply at jboss.com
Thu Jul 5 12:29:50 EDT 2007


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



More information about the jboss-user mailing list