Take a look at javax.management.MBeanRegistration
Shut down in the preDeregister() step. Works on any MBeanServer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007139#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...