Class ErrorMessagingAutoConfiguration.LoggingGlobalErrorConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
    Enclosing class:
    ErrorMessagingAutoConfiguration

    @Configuration
    @ConditionalOnMissingBean(GlobalErrorChannelListener.class)
    public static class ErrorMessagingAutoConfiguration.LoggingGlobalErrorConfiguration
    extends Object
    implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
    A configuration that logs global error messages to standard output.
    • Constructor Detail

      • LoggingGlobalErrorConfiguration

        public LoggingGlobalErrorConfiguration()
    • Method Detail

      • postProcessBeanFactory

        public void postProcessBeanFactory​(@NonNull
                                           org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered