Class 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
      ContextListener()  
    • Constructor Detail

      • ContextListener

        public ContextListener()
    • Method Detail

      • 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