You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skip more classes when processing beans in EventListenerMethodProcessor #22564
The EventListenerMethodProcessor currently skips beans whereisSpringContainerClass returns true. There are a few more types that we could also consider skipping:
Anything in java.lang classes
Any java.util classes
Any javax.servlet classes
All of these turn out to be pretty common beans in Spring Boot applications.
Activity
philwebb commentedon Mar 12, 2019
This may have been superseded by e3a9826 which by default will skip
java*types.jhoeller commentedon Mar 12, 2019
I'll consider this for a backport to 5.1.6, even if it is generally covered on master already.
EventListenerMethodProcessor skips annotation search on java classes