Closed
Description
Juergen Hoeller opened SPR-14879 and commented
As indicated by the Spring Integration team, our ApplicationListenerDetector
issues a warning not only for non-singleton inner beans but also for bean instances which are simply not managed by the container at all, i.e. not backed by a bean definition but rather created through the AutowireCapableBeanFactory
interface and externally managed or manually registered as a singleton instance via registerSingleton
. Let's revise this to only log a warning for actual non-singleton inner bean definitions.
Issue Links:
- Inner bean behind BeanFactoryPostProcessor should be able to receive application events [SPR-14783] #19349 Inner bean behind BeanFactoryPostProcessor should be able to receive application events