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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contextDestroyed(javax.servlet.ServletContextEvent event)
     
    void
    contextInitialized(javax.servlet.ServletContextEvent event)
     

    Methods inherited from class org.springframework.web.context.ContextLoader

    closeWebApplicationContext, getCurrentWebApplicationContext, initWebApplicationContext, setContextInitializers

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ContextListener

      public ContextListener()
  • Method Details

    • contextDestroyed

      public void contextDestroyed(javax.servlet.ServletContextEvent event)
      Specified by:
      contextDestroyed in interface javax.servlet.ServletContextListener
      Overrides:
      contextDestroyed in class org.springframework.web.context.ContextLoaderListener
    • contextInitialized

      public void contextInitialized(javax.servlet.ServletContextEvent event)
      Specified by:
      contextInitialized in interface javax.servlet.ServletContextListener
      Overrides:
      contextInitialized in class org.springframework.web.context.ContextLoaderListener