Re: FW: Destroying resources created with a custom ObjectFactory

2013-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xavier, On 1/28/13 12:20 PM, Xavier Dury wrote: > I'm using Tomcat 7.0.x and made a custom > javax.naming.spi.ObjectFactory to create a Ehcache manager, > exposing a configured CacheManager to an application through > (local) JNDI. My question is:

FW: Destroying resources created with a custom ObjectFactory

2013-01-28 Thread Xavier Dury
Hi, I'm using Tomcat 7.0.x and made a custom javax.naming.spi.ObjectFactory to create a Ehcache manager, exposing a configured CacheManager to an application through (local) JNDI. My question is: how/where can I call the CacheManager.shutdown() method when my application is (re|un)deployed? I t