Skip to content

Skip more classes when processing beans in EventListenerMethodProcessor #22564

Closed
@philwebb

Description

@philwebb

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.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions