Class WebApplicationContextServletContextAwareProcessor
java.lang.Object
org.springframework.web.context.support.ServletContextAwareProcessor
org.springframework.boot.web.servlet.context.WebApplicationContextServletContextAwareProcessor
- All Implemented Interfaces:
BeanPostProcessor
Variant of
ServletContextAwareProcessor
for use with a
ConfigurableWebApplicationContext
. Can be used when registering the processor
can occur before the ServletContext
or ServletConfig
have been
initialized.- Since:
- 1.0.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorDescriptionWebApplicationContextServletContextAwareProcessor
(ConfigurableWebApplicationContext webApplicationContext) -
Method Summary
Methods inherited from class org.springframework.web.context.support.ServletContextAwareProcessor
postProcessAfterInitialization, postProcessBeforeInitialization
-
Constructor Details
-
WebApplicationContextServletContextAwareProcessor
public WebApplicationContextServletContextAwareProcessor(ConfigurableWebApplicationContext webApplicationContext)
-
-
Method Details
-
getServletContext
- Overrides:
getServletContext
in classServletContextAwareProcessor
-
getServletConfig
- Overrides:
getServletConfig
in classServletContextAwareProcessor
-