The Spring Framework

## Uses of Interface
org.springframework.web.context.WebApplicationContext

Packages that use WebApplicationContext
org.springframework.remoting.jaxrpc: Remoting classes for Web Services via JAX-RPC.
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.
org.springframework.web.context.support: Classes supporting the `org.springframework.web.context` package, such as WebApplicationContext implementations and various utility classes.
org.springframework.web.filter: Provides generic filter base classes allowing for bean-style configuration.
org.springframework.web.jsf: Support classes for integrating a JSF web tier with a Spring middle tier which is hosted in a Spring root WebApplicationContext.
org.springframework.web.jsf.el: Support classes for integrating a JSF 1.2 web tier with a Spring middle tier which is hosted in a Spring root WebApplicationContext.
org.springframework.web.portlet.context: Support for Spring's application context concept in a portlet environment, including ApplicationContext implementations and various utility classes.
org.springframework.web.servlet: Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.
org.springframework.web.servlet.support: Support classes for Spring's web MVC framework.
org.springframework.web.servlet.view.tiles: Support classes for the integration of Tiles (included in Struts) as Spring web view technology.
org.springframework.web.servlet.view.tiles2: Support classes for the integration of Tiles2 (the standalone version of Tiles) as Spring web view technology.
org.springframework.web.struts: Support classes for integrating a Struts web tier with a Spring middle tier which is typically hosted in a Spring root WebApplicationContext.

Uses of WebApplicationContext in org.springframework.remoting.jaxrpc

Methods in org.springframework.remoting.jaxrpc that return WebApplicationContext
`protected WebApplicationContext` `ServletEndpointSupport.getWebApplicationContext()` Return the current Spring WebApplicationContext.

Uses of WebApplicationContext in org.springframework.web.context

Subinterfaces of WebApplicationContext in org.springframework.web.context
`interface` `ConfigurableWebApplicationContext` Interface to be implemented by configurable web application contexts.

Methods in org.springframework.web.context that return WebApplicationContext
`protected WebApplicationContext` `ContextLoader.createWebApplicationContext(ServletContext servletContext, ApplicationContext parent)` Instantiate the root WebApplicationContext for this loader, either the default context class or a custom context class if specified.
`static WebApplicationContext` `ContextLoader.getCurrentWebApplicationContext()` Obtain the Spring root web application context for the current thread (i.e. for the current thread's context ClassLoader, which needs to be the web application's ClassLoader).
`WebApplicationContext` `ContextLoader.initWebApplicationContext(ServletContext servletContext)` Initialize Spring's web application context for the given servlet context, according to the "`contextClass`" and "`contextConfigLocation`" context-params.

Uses of WebApplicationContext in org.springframework.web.context.support

Classes in org.springframework.web.context.support that implement WebApplicationContext
`class` `AbstractRefreshableWebApplicationContext` `AbstractRefreshableApplicationContext` subclass which implements the `ConfigurableWebApplicationContext` interface for web environments.
`class` `GenericWebApplicationContext` Subclass of `GenericApplicationContext`, suitable for web environments.
`class` `StaticWebApplicationContext` Static `WebApplicationContext` implementation for testing.
`class` `XmlWebApplicationContext` `WebApplicationContext` implementation which takes its configuration from XML documents, understood by an `XmlBeanDefinitionReader`.

Methods in org.springframework.web.context.support that return WebApplicationContext
`static WebApplicationContext` `WebApplicationContextUtils.getRequiredWebApplicationContext(ServletContext sc)` Find the root WebApplicationContext for this web application, which is typically loaded via `ContextLoaderListener` or `ContextLoaderServlet`.
`WebApplicationContext` `ContextExposingHttpServletRequest.getWebApplicationContext()` Return the WebApplicationContext that this request runs in.
`protected WebApplicationContext` `WebApplicationObjectSupport.getWebApplicationContext()` Return the current application context as WebApplicationContext.
`static WebApplicationContext` `WebApplicationContextUtils.getWebApplicationContext(ServletContext sc)` Find the root WebApplicationContext for this web application, which is typically loaded via `ContextLoaderListener` or `ContextLoaderServlet`.
`static WebApplicationContext` `WebApplicationContextUtils.getWebApplicationContext(ServletContext sc, String attrName)` Find a custom WebApplicationContext for this web application.

Constructors in org.springframework.web.context.support with parameters of type WebApplicationContext
`ContextExposingHttpServletRequest(HttpServletRequest originalRequest, WebApplicationContext context)` Create a new ContextExposingHttpServletRequest for the given request.
`ContextExposingHttpServletRequest(HttpServletRequest originalRequest, WebApplicationContext context, Set exposedContextBeanNames)` Create a new ContextExposingHttpServletRequest for the given request.

Uses of WebApplicationContext in org.springframework.web.filter

Methods in org.springframework.web.filter that return WebApplicationContext
`protected WebApplicationContext` `DelegatingFilterProxy.findWebApplicationContext()` Retrieve a `WebApplicationContext` from the `ServletContext` attribute with the `configured name`.

Methods in org.springframework.web.filter with parameters of type WebApplicationContext
`protected Filter` `DelegatingFilterProxy.initDelegate(WebApplicationContext wac)` Initialize the Filter delegate, defined as bean the given Spring application context.

Uses of WebApplicationContext in org.springframework.web.jsf

Methods in org.springframework.web.jsf that return WebApplicationContext
`static WebApplicationContext` `FacesContextUtils.getRequiredWebApplicationContext(javax.faces.context.FacesContext fc)` Find the root WebApplicationContext for this web app, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
`protected WebApplicationContext` `WebApplicationContextVariableResolver.getWebApplicationContext(javax.faces.context.FacesContext facesContext)` Retrieve the WebApplicationContext reference to expose.
`static WebApplicationContext` `FacesContextUtils.getWebApplicationContext(javax.faces.context.FacesContext fc)` Find the root WebApplicationContext for this web app, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
`protected WebApplicationContext` `DelegatingVariableResolver.getWebApplicationContext(javax.faces.context.FacesContext facesContext)` Retrieve the web application context to delegate bean name resolution to.
`protected WebApplicationContext` `DelegatingPhaseListenerMulticaster.getWebApplicationContext(javax.faces.context.FacesContext facesContext)` Retrieve the web application context to delegate bean name resolution to.
`protected WebApplicationContext` `DelegatingNavigationHandlerProxy.getWebApplicationContext(javax.faces.context.FacesContext facesContext)` Retrieve the web application context to delegate bean name resolution to.

Uses of WebApplicationContext in org.springframework.web.jsf.el

Methods in org.springframework.web.jsf.el that return WebApplicationContext
`protected WebApplicationContext` `WebApplicationContextFacesELResolver.getWebApplicationContext(javax.el.ELContext elContext)` Retrieve the WebApplicationContext reference to expose.
`protected WebApplicationContext` `SpringBeanFacesELResolver.getWebApplicationContext(javax.el.ELContext elContext)` Retrieve the web application context to delegate bean name resolution to.

Uses of WebApplicationContext in org.springframework.web.portlet.context

Subinterfaces of WebApplicationContext in org.springframework.web.portlet.context
`interface` `ConfigurablePortletApplicationContext` Interface to be implemented by configurable portlet application contexts.

Classes in org.springframework.web.portlet.context that implement WebApplicationContext
`class` `AbstractRefreshablePortletApplicationContext` `AbstractRefreshableApplicationContext` subclass which implements the `ConfigurablePortletApplicationContext` interface for portlet environments.
`class` `StaticPortletApplicationContext` Static Portlet-based `ApplicationContext` implementation for testing.
`class` `XmlPortletApplicationContext` Portlet-based `WebApplicationContext` implementation which takes its configuration from XML documents, understood by an `XmlBeanDefinitionReader`.

Uses of WebApplicationContext in org.springframework.web.servlet

Methods in org.springframework.web.servlet that return WebApplicationContext
`protected WebApplicationContext` `FrameworkServlet.createWebApplicationContext(WebApplicationContext parent)` Instantiate the WebApplicationContext for this servlet, either a default `XmlWebApplicationContext` or a `custom context class`, if set.
`protected WebApplicationContext` `FrameworkServlet.findWebApplicationContext()` Retrieve a `WebApplicationContext` from the `ServletContext` attribute with the `configured name`.
`WebApplicationContext` `FrameworkServlet.getWebApplicationContext()` Return this servlet's WebApplicationContext.
`protected WebApplicationContext` `FrameworkServlet.initWebApplicationContext()` Initialize and publish the WebApplicationContext for this servlet.

Methods in org.springframework.web.servlet with parameters of type WebApplicationContext
`protected WebApplicationContext` `FrameworkServlet.createWebApplicationContext(WebApplicationContext parent)` Instantiate the WebApplicationContext for this servlet, either a default `XmlWebApplicationContext` or a `custom context class`, if set.

Uses of WebApplicationContext in org.springframework.web.servlet.support

Methods in org.springframework.web.servlet.support that return WebApplicationContext
`WebApplicationContext` `RequestContext.getWebApplicationContext()` Return the current WebApplicationContext.
`static WebApplicationContext` `RequestContextUtils.getWebApplicationContext(ServletRequest request)` Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing.
`static WebApplicationContext` `RequestContextUtils.getWebApplicationContext(ServletRequest request, ServletContext servletContext)` Look for the WebApplicationContext associated with the DispatcherServlet that has initiated request processing, and for the global context if none was found associated with the current request.

Uses of WebApplicationContext in org.springframework.web.servlet.view.tiles

Methods in org.springframework.web.servlet.view.tiles that return WebApplicationContext
`protected WebApplicationContext` `ComponentControllerSupport.getWebApplicationContext()` Return the current Spring WebApplicationContext.

Uses of WebApplicationContext in org.springframework.web.servlet.view.tiles2

Methods in org.springframework.web.servlet.view.tiles2 with parameters of type WebApplicationContext
`protected abstract ViewPreparer` `AbstractSpringPreparerFactory.getPreparer(String name, WebApplicationContext context)` Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.
`protected ViewPreparer` `SimpleSpringPreparerFactory.getPreparer(String name, WebApplicationContext context)`
`protected ViewPreparer` `SpringBeanPreparerFactory.getPreparer(String name, WebApplicationContext context)`

Uses of WebApplicationContext in org.springframework.web.struts

Methods in org.springframework.web.struts that return WebApplicationContext
`protected WebApplicationContext` `ContextLoaderPlugIn.createWebApplicationContext(WebApplicationContext parent)` Instantiate the WebApplicationContext for the ActionServlet, either a default XmlWebApplicationContext or a custom context class if set.
`static WebApplicationContext` `DelegatingActionUtils.findRequiredWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Find most specific context available: check ContextLoaderPlugIn's WebApplicationContext first, fall back to root WebApplicationContext else.
`static WebApplicationContext` `DelegatingActionUtils.getRequiredWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext.
`protected WebApplicationContext` `DelegatingRequestProcessor.getWebApplicationContext()` Return the `WebApplicationContext` that this processor delegates to.
`WebApplicationContext` `ContextLoaderPlugIn.getWebApplicationContext()` Return this PlugIn's WebApplicationContext.
`protected WebApplicationContext` `MappingDispatchActionSupport.getWebApplicationContext()` Return the current Spring WebApplicationContext.
`protected WebApplicationContext` `LookupDispatchActionSupport.getWebApplicationContext()` Return the current Spring WebApplicationContext.
`protected WebApplicationContext` `DispatchActionSupport.getWebApplicationContext()` Return the current Spring WebApplicationContext.
`protected WebApplicationContext` `DelegatingTilesRequestProcessor.getWebApplicationContext()` Return the WebApplicationContext that this processor delegates to.
`protected WebApplicationContext` `AutowiringTilesRequestProcessor.getWebApplicationContext()` Return the current Spring WebApplicationContext.
`protected WebApplicationContext` `AutowiringRequestProcessor.getWebApplicationContext()` Return the current Spring WebApplicationContext.
`protected WebApplicationContext` `ActionSupport.getWebApplicationContext()` Return the current Spring WebApplicationContext.
`protected WebApplicationContext` `DelegatingActionProxy.getWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's `WebApplicationContext` from the `ServletContext`, falling back to the root `WebApplicationContext`.
`static WebApplicationContext` `DelegatingActionUtils.getWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext.
`protected WebApplicationContext` `ContextLoaderPlugIn.initWebApplicationContext()` Initialize and publish the WebApplicationContext for the ActionServlet.
`protected WebApplicationContext` `MappingDispatchActionSupport.initWebApplicationContext(ActionServlet actionServlet)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext (the usual case).
`protected WebApplicationContext` `LookupDispatchActionSupport.initWebApplicationContext(ActionServlet actionServlet)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext (the usual case).
`protected WebApplicationContext` `DispatchActionSupport.initWebApplicationContext(ActionServlet actionServlet)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext (the usual case).
`protected WebApplicationContext` `ActionSupport.initWebApplicationContext(ActionServlet actionServlet)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext (the usual case).
`protected WebApplicationContext` `DelegatingRequestProcessor.initWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's `WebApplicationContext` from the `ServletContext`, falling back to the root `WebApplicationContext`.
`protected WebApplicationContext` `DelegatingTilesRequestProcessor.initWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext.
`protected WebApplicationContext` `AutowiringTilesRequestProcessor.initWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext.
`protected WebApplicationContext` `AutowiringRequestProcessor.initWebApplicationContext(ActionServlet actionServlet, ModuleConfig moduleConfig)` Fetch ContextLoaderPlugIn's WebApplicationContext from the ServletContext, falling back to the root WebApplicationContext.

Methods in org.springframework.web.struts with parameters of type WebApplicationContext
`protected WebApplicationContext` `ContextLoaderPlugIn.createWebApplicationContext(WebApplicationContext parent)` Instantiate the WebApplicationContext for the ActionServlet, either a default XmlWebApplicationContext or a custom context class if set.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.