java.lang.Object | ||
↳ | org.springframework.web.context.ContextLoader | |
↳ | org.springframework.web.context.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.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.context.ContextLoader
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Close the root web application context.
| |||||||||||
Initialize the root web application context.
| |||||||||||
This method is deprecated.
in favor of simply subclassing ContextLoaderListener itself
(which extends ContextLoader, as of Spring 3.0)
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
in favor of simply subclassing ContextLoaderListener itself
(which extends ContextLoader, as of Spring 3.0)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.context.ContextLoader
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.servlet.ServletContextListener
|
Close the root web application context.
Initialize the root web application context.
This method is deprecated.
in favor of simply subclassing ContextLoaderListener itself
(which extends ContextLoader, as of Spring 3.0)
Return the ContextLoader used by this listener.
This method is deprecated.
in favor of simply subclassing ContextLoaderListener itself
(which extends ContextLoader, as of Spring 3.0)
Create the ContextLoader to use. Can be overridden in subclasses.