Class 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:
    • Constructor Detail

      • DerbyShutdown

        public DerbyShutdown()
    • Method Detail

      • 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