[jboss-dev-forums] [Design of Clustering on JBoss] - Re: Removing SFSB in HttpSessionListener

pete.muir@jboss.org do-not-reply at jboss.com
Wed Sep 17 04:36:52 EDT 2008


"bstansberry at jboss.com" wrote : "pete.muir at jboss.org" wrote : (which leads to the SFSB's remove method being called unless you explicitly ask it not to).
  | 
  | How do you "explicitly ask it not to"?  The timing of this work is being driven by a support case where the customer is having issues because of the sessionDestroyed call.  If there's a workaround, that would be great.

You can annotate separate methods @Destroys and @Removes on your SFSB - this will lead to the remove method not being called when the component is destroyed.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177020#4177020

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177020



More information about the jboss-dev-forums mailing list