open class ServletContextAwareProcessor : BeanPostProcessor
org.springframework.beans.factory.config.BeanPostProcessor implementation that passes the ServletContext to beans that implement the ServletContextAware interface.
Web application contexts will automatically register this with their underlying bean factory. Applications do not use this directly.
Author
Juergen Hoeller
Author
Phillip Webb
Since
12.03.2004
See Also
org.springframework.web.context.ServletContextAwareorg.springframework.web.context.support.XmlWebApplicationContext#postProcessBeanFactory
ServletContextAwareProcessor(servletContext: ServletContext)
Create a new ServletContextAwareProcessor for the given context. ServletContextAwareProcessor(servletConfig: ServletConfig)
Create a new ServletContextAwareProcessor for the given config. ServletContextAwareProcessor(servletContext: ServletContext, servletConfig: ServletConfig)
Create a new ServletContextAwareProcessor for the given context and config. |
open fun postProcessAfterInitialization(bean: Any, beanName: String): Any |
|
open fun postProcessBeforeInitialization(bean: Any, beanName: String): Any |