org.alfresco.web.app
Class ContextLoaderListener

java.lang.Object
  extended by org.springframework.web.context.ContextLoader
      extended by org.springframework.web.context.ContextLoaderListener
          extended by org.alfresco.web.app.ContextLoaderListener
All Implemented Interfaces:
java.util.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.


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.springframework.web.context.ContextLoader
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
 
Constructor Summary
ContextLoaderListener()
           
 
Method Summary
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyed, createContextLoader, getContextLoader
 
Methods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.