Package 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
-
-
Constructor Summary
Constructors Constructor Description DerbyShutdown()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent event)
void
contextInitialized(javax.servlet.ServletContextEvent event)
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-