Class DSpaceKernelServletContextListener
- java.lang.Object
-
- org.dspace.servicemanager.servlet.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.ApplicationThis 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 Summary
Constructors Constructor Description DSpaceKernelServletContextListener()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
contextDestroyed(javax.servlet.ServletContextEvent arg0)
Deprecated.void
contextInitialized(javax.servlet.ServletContextEvent arg0)
Deprecated.
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent arg0)
Deprecated.- Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent arg0)
Deprecated.- Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
-
-