tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Moseley <>
Subject end-of-lifecycle control for naming resources
Date Wed, 05 Oct 2005 23:03:54 GMT
i'm setting up an instance of javax.jcr.Repository as a naming resource 
like so:

   <Resource name="jcr/cosmo"

this implementation of Repository requires a shutdown() method to be 
executed when the webapp or container is being shut down, in order to 
clean up resources, release the lock on the repository's filesystem, etc.

is there any sort of end-of-lifecycle hook for naming resources, or am i 
forced to write a servlet context listener to take care of this?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message