[jboss-user] [EJB/JBoss] - Invoking methods annotated with @PreDestroy

rabbiaqaswar do-not-reply at jboss.com
Mon Dec 10 02:53:37 EST 2007


Hello

Can anyone please tell me whether the @PreDestroy annotation is supported in the JBoss 4.0.4.GA?

I am closing a database connection in a method annotated with the @PreDestroy in a Stateless Session Bean. After closing the connection i have a logger statement. But that statement is never written in the log file of jboss.

I wanted to know when the method annotated with PreDestroy would be called? Or is it not supported in this version of JBoss?

Thanks

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

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



More information about the jboss-user mailing list