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 tried adding a NamespaceChangerListener to the (Event)Context passed to the 
ObjectFactory.getObjectInstance() method without luck.
Thanks,
Xavier                                                                          
  

Reply via email to