-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
Right now, MessagingBeanPostProcessor
is creating bean definitions. In order to do that, it has to inject the BeanFactory
and downcast it to a BeanRegistry
, see
Line 233 in 7f631fc
BeanDefinitionRegistry definitionRegistry = (BeanDefinitionRegistry) beanFactory; |
As a side effect of this, we might be able to get rid of that @Bean
lookup. @Bean
is a configuration class parsing concern and shouldn't be relied upon outside of it.