Class DSpaceKernelServletContextListener

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    @Deprecated
    public final class DSpaceKernelServletContextListener
    extends Object
    implements javax.servlet.ServletContextListener
    Deprecated.
    The DSpace Kernel initialisation is now done by org.dspace.app.rest.Application
    This servlet context listener will handle startup of the kernel if it is not there. Shutdown of the context listener does not shutdown the kernel though; that is tied to the shutdown of the JVM.

    This is implemented in the web application web.xml using:

     <listener>
       <listener-class>
         org.dspace.servicemanager.servlet.DSpaceKernelServletContextListener
       </listener-class>
     </listener>
     
    Author:
    Aaron Zeckoski (azeckoski @ gmail.com), Mark Diggory (mdiggory @ gmail.com)
    • Constructor Detail

      • DSpaceKernelServletContextListener

        public DSpaceKernelServletContextListener()
        Deprecated.
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent arg0)
        Deprecated.
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent arg0)
        Deprecated.
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener