users@glassfish.java.net

Re: Custom MBean question/sample

From: <glassfish_at_javadesktop.org>
Date: Wed, 29 Aug 2007 03:06:57 PDT

Here is one approach.

All the MBeanServers started in this VM can be gotten by this method call.
ArrayList mbservers = MBeanServerFactory.findMBeanServer(null);

In the bootstrap code for JCA connectors you could find the glassfish's mbean server and register your mbean.

HTH
[Message sent by forum member 'cprashantreddy' (cprashantreddy)]

http://forums.java.net/jive/thread.jspa?messageID=233037