Package com.logicaldoc.web.listener
Class ContextListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
com.logicaldoc.web.listener.ContextListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class ContextListener
extends org.springframework.web.context.ContextLoaderListener
Listener that initializes and destroys the Spring Context
- Since:
- 7.7
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, CONTEXT_INITIALIZER_CLASSES_PARAM, GLOBAL_INITIALIZER_CLASSES_PARAM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextDestroyed
(javax.servlet.ServletContextEvent event) void
contextInitialized
(javax.servlet.ServletContextEvent event) Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, getCurrentWebApplicationContext, initWebApplicationContext, setContextInitializers
-
Constructor Details
-
ContextListener
public ContextListener()
-
-
Method Details
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event) - Specified by:
contextDestroyed
in interfacejavax.servlet.ServletContextListener
- Overrides:
contextDestroyed
in classorg.springframework.web.context.ContextLoaderListener
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event) - Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
- Overrides:
contextInitialized
in classorg.springframework.web.context.ContextLoaderListener
-