org.directdemocracyportal.democracy.web
Class StaticContextLoaderListener
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.directdemocracyportal.democracy.web.StaticContextLoaderListener
- All Implemented Interfaces:
- java.util.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()
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
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
- Overrides:
contextDestroyed
in class org.springframework.web.context.ContextLoaderListener
getWebApplicationContext
public static org.springframework.web.context.WebApplicationContext getWebApplicationContext()
- Gets the web application context.
- Returns:
- the web application context
Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.