org.springframework.boot.web.server

Class ErrorPageRegistrarBeanPostProcessor

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


    public class ErrorPageRegistrarBeanPostProcessor
    extends java.lang.Object
    implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware
    BeanPostProcessor that applies all ErrorPageRegistrars from the bean factory to ErrorPageRegistry beans.
    Since:
    2.0.0
    • Constructor Detail

      • ErrorPageRegistrarBeanPostProcessor

        public ErrorPageRegistrarBeanPostProcessor()
    • Method Detail

      • setBeanFactory

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

        public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                                java.lang.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 java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                               java.lang.String beanName)
                                                        throws org.springframework.beans.BeansException
        Specified by:
        postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException