org.springframework.boot.context.embedded

Class EmbeddedServletContainerCustomizerBeanPostProcessor

  • java.lang.Object
    • org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor
  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor


    public class EmbeddedServletContainerCustomizerBeanPostProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware
    BeanPostProcessor that applies all EmbeddedServletContainerCustomizers from the bean factory to ConfigurableEmbeddedServletContainer beans.
    Author:
    Dave Syer, Phillip Webb, Stephane Nicoll
    • Constructor Detail

      • EmbeddedServletContainerCustomizerBeanPostProcessor

        public EmbeddedServletContainerCustomizerBeanPostProcessor()
    • Method Detail

      • setBeanFactory

        public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      • postProcessBeforeInitialization

        public Object postProcessBeforeInitialization(Object bean,
                                                      String beanName)
                                               throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • postProcessAfterInitialization

        public Object postProcessAfterInitialization(Object bean,
                                                     String beanName)
                                              throws org.springframework.beans.BeansException
        Specified by:
        postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.