Class SakaiContextLoaderListener

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

    public class SakaiContextLoaderListener
    extends SakaiContextLoader
    implements javax.servlet.ServletContextListener

    Sakai's extension to the Spring ContextLoaderListener - use our ContextLoader, and increment / decrement the child count of the ComponentManager on init / destroy.

    • 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
      SakaiContextLoaderListener​(org.springframework.web.context.WebApplicationContext context)  
    • Constructor Detail

      • SakaiContextLoaderListener

        public SakaiContextLoaderListener​(org.springframework.web.context.WebApplicationContext context)
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent event)
        Initialize the root web application context.
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent event)
        Close the root web application context.
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener