[jboss-user] [EJB 3.0] - PreDestroy callback is not being called by container

konkimalla do-not-reply at jboss.com
Wed Oct 10 15:27:04 EDT 2007


We use JBOSS 4.2.1.GA. My statefule session bean has different methods for different callback methods like @PostConstruct, @PostActivate, @PrePassivate and @PreDestroy. Except the method with @PreDestroy all the methods are being called.

I did some clean up in method having @PreDestroy so that when I complete my work or shutdown the JBOSS, this method will be cleaned. In either case this is not being used. 

Can somebody please let me know the way to take care of this issue?

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

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



More information about the jboss-user mailing list