public class MyBean {
   @PostConstruct
    public void initialize() {
      //init code
    }

    @PreDestroy
    public void shutdown() {
      //shutdown code
    |
}

If so do you have an example?

Cheers
Barry
-- 
View this message in context: 
http://www.nabble.com/Does-Tomcat-6.0.x-support-Life-Cycle-Annotations--tp19022553p19022553.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to