users@glassfish.java.net

Self-registering MBean

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Feb 2008 15:18:29 PST

Hello,

I'm new to JMX, and perhaps it's not the good way to use MBeans.
I have several jars (ejb) that will be loaded in Glassfish.
I will add a monitoring / management using custom MBeans on each of these jars.
For that, JMX seems to be simple and usefull.

But is there a way to have self-registering MBean ?
I prefer to managed these deployment tasks and the registering of these MBeans.
It will be a sort of ContextListener to manage the start of each jars.

Thanks a lot for remarks ;)
[Message sent by forum member 'thibaudr' (thibaudr)]

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