Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected WebApplicationContext |
ServletEndpointSupport.getWebApplicationContext()
Deprecated.
Return the current Spring WebApplicationContext.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConfigurableWebApplicationContext
Interface to be implemented by configurable web application contexts.
|
Modifier and Type | Method and Description |
---|---|
protected abstract WebApplicationContext |
AbstractContextLoaderInitializer.createRootApplicationContext()
Create the "root" application context to be provided to the
ContextLoaderListener . |
protected WebApplicationContext |
ContextLoader.createWebApplicationContext(javax.servlet.ServletContext sc)
Instantiate the root WebApplicationContext for this loader, either the
default context class or a custom context class if specified.
|
protected WebApplicationContext |
ContextLoader.createWebApplicationContext(javax.servlet.ServletContext sc,
ApplicationContext parent)
Deprecated.
|
static WebApplicationContext |
ContextLoader.getCurrentWebApplicationContext()
Obtain the Spring root web application context for the current thread
(i.e.
|
WebApplicationContext |
ContextLoader.initWebApplicationContext(javax.servlet.ServletContext servletContext)
Initialize Spring's web application context for the given servlet context,
using the application context provided at construction time, or creating a new one
according to the "
contextClass " and
"contextConfigLocation " context-params. |
Constructor and Description |
---|
ContextLoader(WebApplicationContext context)
Create a new
ContextLoader with the given application context. |
ContextLoaderListener(WebApplicationContext context)
Create a new
ContextLoaderListener with the given application context. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRefreshableWebApplicationContext
AbstractRefreshableApplicationContext
subclass which implements the
ConfigurableWebApplicationContext
interface for web environments. |
class |
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts annotated classes as input - in particular
@Configuration -annotated
classes, but also plain @Component
classes and JSR-330 compliant classes using javax.inject annotations. |
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 . |
Modifier and Type | Method and Description |
---|---|
static WebApplicationContext |
WebApplicationContextUtils.getRequiredWebApplicationContext(javax.servlet.ServletContext sc)
Find the root
WebApplicationContext for this web app, typically
loaded via ContextLoaderListener . |
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(javax.servlet.ServletContext sc)
Find the root
WebApplicationContext for this web app, typically
loaded via ContextLoaderListener . |
static WebApplicationContext |
WebApplicationContextUtils.getWebApplicationContext(javax.servlet.ServletContext sc,
String attrName)
Find a custom
WebApplicationContext for this web app. |
Constructor and Description |
---|
ContextExposingHttpServletRequest(javax.servlet.http.HttpServletRequest originalRequest,
WebApplicationContext context)
Create a new ContextExposingHttpServletRequest for the given request.
|
ContextExposingHttpServletRequest(javax.servlet.http.HttpServletRequest originalRequest,
WebApplicationContext context,
Set<String> exposedContextBeanNames)
Create a new ContextExposingHttpServletRequest for the given request.
|
Modifier and Type | Method and Description |
---|---|
protected WebApplicationContext |
DelegatingFilterProxy.findWebApplicationContext()
Return the
WebApplicationContext passed in at construction time, if available. |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.Filter |
DelegatingFilterProxy.initDelegate(WebApplicationContext wac)
Initialize the Filter delegate, defined as bean the given Spring
application context.
|
Constructor and Description |
---|
DelegatingFilterProxy(String targetBeanName,
WebApplicationContext wac)
Create a new
DelegatingFilterProxy that will retrieve the named target
bean from the given Spring WebApplicationContext . |
Modifier and Type | Method and Description |
---|---|
static WebApplicationContext |
FacesContextUtils.getRequiredWebApplicationContext(javax.faces.context.FacesContext fc)
Find the root
WebApplicationContext for this web app, typically
loaded via ContextLoaderListener . |
protected WebApplicationContext |
WebApplicationContextVariableResolver.getWebApplicationContext(javax.faces.context.FacesContext facesContext)
Deprecated.
Retrieve the WebApplicationContext reference to expose.
|
protected WebApplicationContext |
DelegatingNavigationHandlerProxy.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.
|
static WebApplicationContext |
FacesContextUtils.getWebApplicationContext(javax.faces.context.FacesContext fc)
Find the root
WebApplicationContext for this web app, typically
loaded via ContextLoaderListener . |
protected WebApplicationContext |
DelegatingVariableResolver.getWebApplicationContext(javax.faces.context.FacesContext facesContext)
Deprecated.
Retrieve the web application context to delegate bean name resolution to.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 2024. All rights reserved.