|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
public class ContextLoaderListener
Bootstrap listener to start up and shut down Spring's root WebApplicationContext.
Simply delegates to ContextLoader as well as to ContextCleanupListener.
This listener should be registered after
Log4jConfigListener
in web.xml, if the latter is used.
Log4jConfigListener| Field Summary |
|---|
| Fields inherited from class org.springframework.web.context.ContextLoader |
|---|
CONFIG_LOCATION_PARAM, CONTEXT_CLASS_PARAM, CONTEXT_ID_PARAM, LOCATOR_FACTORY_KEY_PARAM, LOCATOR_FACTORY_SELECTOR_PARAM |
| Constructor Summary | |
|---|---|
ContextLoaderListener()
|
|
| Method Summary | |
|---|---|
void |
contextDestroyed(ServletContextEvent event)
Close the root web application context. |
void |
contextInitialized(ServletContextEvent event)
Initialize the root web application context. |
protected ContextLoader |
createContextLoader()
Deprecated. in favor of simply subclassing ContextLoaderListener itself (which extends ContextLoader, as of Spring 3.0) |
ContextLoader |
getContextLoader()
Deprecated. in favor of simply subclassing ContextLoaderListener itself (which extends ContextLoader, as of Spring 3.0) |
| 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 |
| Constructor Detail |
|---|
public ContextLoaderListener()
| Method Detail |
|---|
public void contextInitialized(ServletContextEvent event)
contextInitialized in interface ServletContextListener@Deprecated protected ContextLoader createContextLoader()
@Deprecated public ContextLoader getContextLoader()
public void contextDestroyed(ServletContextEvent event)
contextDestroyed in interface ServletContextListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||