org.springframework.web.context |
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
|
Java Source File Name | Type | Comment |
ConfigurableWebApplicationContext.java | Interface | Interface to be implemented by configurable web application contexts. |
ContextLoader.java | Class | Performs the actual initialization work for the root application context.
Called by
ContextLoaderListener and
ContextLoaderServlet .
Looks for a "contextClass" parameter at the web.xml context-param level
to specify the context class type, falling back to the default of
org.springframework.web.context.support.XmlWebApplicationContext if not found. |
ContextLoaderListener.java | Class | Bootstrap listener to start up Spring's root
WebApplicationContext . |
ContextLoaderServlet.java | Class | Bootstrap servlet to start up Spring's root
WebApplicationContext .
Simply delegates to
ContextLoader .
This servlet should have a lower load-on-startup value
in web.xml than any servlets that access the root web
application context.
Note that this class has been deprecated for containers implementing
Servlet API 2.4 or higher, in favor of
ContextLoaderListener .
According to Servlet 2.4, listeners must be initialized before load-on-startup
servlets. |
ServletConfigAware.java | Interface | Interface to be implemented by any object that wishes to be notified
of the ServletConfig (typically determined by the WebApplicationContext)
that it runs in.
Only satisfied if actually running within a Servlet-specific
WebApplicationContext. |
ServletContextAware.java | Interface | Interface to be implemented by any object that wishes to be notified
of the ServletContext (typically determined by the WebApplicationContext)
that it runs in. |
WebApplicationContext.java | Interface | Interface to provide configuration for a web application. |