org.springframework.boot.web.servlet

Class ErrorPageRegistrarBeanPostProcessor

  • java.lang.Object
    • org.springframework.boot.web.servlet.ErrorPageRegistrarBeanPostProcessor
  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware


    public class ErrorPageRegistrarBeanPostProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware
    BeanPostProcessor that applies all ErrorPageRegistrars from the bean factory to ErrorPageRegistry beans.
    Since:
    1.4.0
    Author:
    Phillip Webb
    • Constructor Detail

      • ErrorPageRegistrarBeanPostProcessor

        public ErrorPageRegistrarBeanPostProcessor()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • 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 © 2017 Pivotal Software, Inc.. All rights reserved.