DubboConfigEarlyInitializationPostProcessor cause PostProcessorRegistrationDelegate$BeanPostProcessorChecker log 'not eligible for getting processed by all BeanPostProcessors' #8347
Labels
help wanted
Everything needs help from contributors
Environment
Steps to reproduce this issue
Set the org.springframework log level to INFO, then there many logs such as:
INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'xxx' of type [xxx.xxx.xxx] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Tracking the
org.springframework.context.support.PostProcessorRegistrationDelegate#registerBeanPostProcessors
method, it is found that the postProcessorNames contains the instance of DubboConfigEarlyInitializationPostProcessor, and becauseDubboBeanConfigEarlyInitializationPostProcessor#initBeanFactory
has been added to self to the beanPostProcessors list. Due to this BeanPostProcessor duplication, the beanProcessorTargetCount will be one more than the final beanPostProcessors list. Therefore, the above INFO log information is printed inorg.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker
.The text was updated successfully, but these errors were encountered: