Class ContextLoaderListener

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

    public class ContextLoaderListener
    extends org.springframework.web.context.ContextLoaderListener
    A specialised ContextLoaderListener that can be disabled by a boolean java:comp/env/properties/startup.enable JNDI entry. If startup.enable is configured as false then the Spring Application Context is not created, allowing further configuration changes to be made after initial deployment.
    Author:
    dward
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.commons.logging.Log log  
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contextInitialized​(javax.servlet.ServletContextEvent event)  
      • Methods inherited from class org.springframework.web.context.ContextLoaderListener

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

        closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext, setContextInitializers
    • Field Detail

      • log

        protected static final org.apache.commons.logging.Log log
    • Constructor Detail

      • ContextLoaderListener

        public ContextLoaderListener()
    • Method Detail

      • 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