Class WebApplicationContextServletContextAwareProcessor
- java.lang.Object
- org.springframework.web.context.support.ServletContextAwareProcessor
- org.springframework.boot.web.servlet.context.WebApplicationContextServletContextAwareProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class WebApplicationContextServletContextAwareProcessor extends org.springframework.web.context.support.ServletContextAwareProcessor
Variant ofServletContextAwareProcessor
for use with aConfigurableWebApplicationContext
. Can be used when registering the processor can occur before theServletContext
orServletConfig
have been initialized.
Constructor Summary
Constructors Constructor Description WebApplicationContextServletContextAwareProcessor(org.springframework.web.context.ConfigurableWebApplicationContext webApplicationContext)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.servlet.ServletConfig
getServletConfig()
protected javax.servlet.ServletContext
getServletContext()
Constructor Detail
WebApplicationContextServletContextAwareProcessor
public WebApplicationContextServletContextAwareProcessor(org.springframework.web.context.ConfigurableWebApplicationContext webApplicationContext)
Method Detail
getServletContext
protected javax.servlet.ServletContext getServletContext()
- Overrides:
getServletContext
in classorg.springframework.web.context.support.ServletContextAwareProcessor
getServletConfig
protected javax.servlet.ServletConfig getServletConfig()
- Overrides:
getServletConfig
in classorg.springframework.web.context.support.ServletContextAwareProcessor