Package org.fcrepo.http.commons
Class FedoraContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.fcrepo.http.commons.FedoraContextLoaderListener
- All Implemented Interfaces:
EventListener,javax.servlet.ServletContextListener
public class FedoraContextLoaderListener
extends org.springframework.web.context.ContextLoaderListener
This class wraps the standard Spring ContextLoaderListener in order to catch initialization errors.
- Since:
- 2016-06-09
- Author:
- awoods
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextInitialized(javax.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
-
Constructor Details
-
FedoraContextLoaderListener
public FedoraContextLoaderListener()
-
-
Method Details
-
contextInitialized
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener- Overrides:
contextInitializedin classorg.springframework.web.context.ContextLoaderListener
-