Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApplicationListenerDetector should ignore non-managed bean instances [SPR-14879] #19445

spring-projects-issues opened this issue Nov 3, 2016 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Nov 3, 2016

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:

  • #19349 Inner bean behind BeanFactoryPostProcessor should be able to receive application events

Referenced from: commits e83c116, 8ae0bd6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants