I suppose if one of your MBean services "holds" the shutdown thread, while other threads of yours do the extra cleaning-up, maybe that would work.
You'd also have to put your mbean stop code early in the shutdown sequence. Maybe if you use a BarrierController catching the server stop notification, and your mbean depending on it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133856#4133856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133856 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
