Package ubic.gemma.web.listener
Class StartupListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
ubic.gemma.web.listener.StartupListener
- All Implemented Interfaces:
EventListener
,javax.servlet.ServletContextListener
public class StartupListener
extends org.springframework.web.context.ContextLoaderListener
Slight variant of
ContextLoaderListener
that logs the time taken to initialize the context.- Author:
- keshav, pavlidis, Matt Raible (original version), poirigui
-
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, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, customizeContext, determineContextClass, determineContextInitializerClasses, getCurrentWebApplicationContext, initWebApplicationContext, loadParentContext
-
Constructor Details
-
StartupListener
public StartupListener()
-
-
Method Details
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event) - Specified by:
contextInitialized
in interfacejavax.servlet.ServletContextListener
- Overrides:
contextInitialized
in classorg.springframework.web.context.ContextLoaderListener
-