org.apache.jackrabbit.j2ee
Class DerbyShutdown
java.lang.Object
org.apache.jackrabbit.j2ee.DerbyShutdown
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class DerbyShutdown
- extends Object
- implements javax.servlet.ServletContextListener
Servlet context listener that releases all remaining Derby resources
when the web application is undeployed. The resources are released only
if the Derby classes were loaded from within this webapp.
- See Also:
- JCR-1301
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerbyShutdown
public DerbyShutdown()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.