JBoss has no control over the threads your MBean creates. A possible solution is to include a boolean flag with your MBean (e.g. isStopRequested) and set it when stop() is called. Your threads would have to periodically check this flag and exit if they find it set.
An extention to that would be for the call to stop() to actually wait, until all thread have exited/joined, before returning. Regards /Dimitris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848511#3848511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848511 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
