org.springframework.boot.context.embedded
Class WebApplicationContextServletContextAwareProcessor

java.lang.Object
  extended by org.springframework.web.context.support.ServletContextAwareProcessor
      extended by org.springframework.boot.context.embedded.WebApplicationContextServletContextAwareProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class WebApplicationContextServletContextAwareProcessor
extends org.springframework.web.context.support.ServletContextAwareProcessor

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.

Author:
Phillip Webb

Constructor Summary
WebApplicationContextServletContextAwareProcessor(org.springframework.web.context.ConfigurableWebApplicationContext webApplicationContext)
           
 
Method Summary
protected  javax.servlet.ServletConfig getServletConfig()
           
protected  javax.servlet.ServletContext getServletContext()
           
 
Methods inherited from class org.springframework.web.context.support.ServletContextAwareProcessor
postProcessAfterInitialization, postProcessBeforeInitialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApplicationContextServletContextAwareProcessor

public WebApplicationContextServletContextAwareProcessor(org.springframework.web.context.ConfigurableWebApplicationContext webApplicationContext)
Method Detail

getServletContext

protected javax.servlet.ServletContext getServletContext()
Overrides:
getServletContext in class org.springframework.web.context.support.ServletContextAwareProcessor

getServletConfig

protected javax.servlet.ServletConfig getServletConfig()
Overrides:
getServletConfig in class org.springframework.web.context.support.ServletContextAwareProcessor


Copyright © 2013. All Rights Reserved.