Package org.alfresco.web.app
Class ContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.alfresco.web.app.ContextLoaderListener
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
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
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextInitialized(jakarta.servlet.ServletContextEvent event) Methods inherited from class org.springframework.web.context.ContextLoaderListener
contextDestroyedMethods inherited from class org.springframework.web.context.ContextLoader
closeWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext, setContextInitializers
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
ContextLoaderListener
public ContextLoaderListener()
-
-
Method Details
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent event) - Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener- Overrides:
contextInitializedin classorg.springframework.web.context.ContextLoaderListener
-