com.hack23.cia.web.common
Class StaticContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
com.hack23.cia.web.common.StaticContextLoaderListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class StaticContextLoaderListener
- extends org.springframework.web.context.ContextLoaderListener
The listener interface for receiving staticContextLoader events. The class
that is interested in processing a staticContextLoader event implements this
interface, and the object created with that class is registered with a
component using the component's
addStaticContextLoaderListener method. When
the staticContextLoader event occurs, that object's appropriate
method is invoked.
- See Also:
StaticContextLoaderEvent
Fields inherited from class org.springframework.web.context.ContextLoader |
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM |
Methods inherited from class org.springframework.web.context.ContextLoaderListener |
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 |
StaticContextLoaderListener
public StaticContextLoaderListener()
- Instantiates a new static context loader listener.
getWebApplicationContext
protected static org.springframework.web.context.WebApplicationContext getWebApplicationContext()
- Gets the web application context.
- Returns:
- the web application context
contextDestroyed
public final void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
- Overrides:
contextDestroyed
in class org.springframework.web.context.ContextLoaderListener
contextInitialized
public final void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
- Overrides:
contextInitialized
in class org.springframework.web.context.ContextLoaderListener
Copyright © 2008-2009 www.hack23.com. All Rights Reserved.