Why don't you just call unregisterMBean() on the MBeanServer ?
Something like (Pseudocode)
| MbeanServer mbs = MbeanServerLocator.locateJBoss();
| ObjectName on = new ObjectName("foo:type=service");
| mbs.unregisterMBean(on);
|
this could also be done on command line via twiddle:
| twiddle unregister "foo:type=service"
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966098#3966098
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966098
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user