[jboss-user] [Management, JMX/JBoss] - Re: Unregistering a MBean on un-/re-deploy

pilhuhn do-not-reply at jboss.com
Fri Aug 18 11:43:09 EDT 2006


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



More information about the jboss-user mailing list