Skip to content

[spring framework 7] add validation to check for @Component like annotations on bean registrars #1523

Closed
@martinlippert

Description

@martinlippert

Since bean registrars are not beans, we should add a validation that users don't add @Component, @Configuration or anything like that by accident to bean registrar classes. We can basically check for @Component if we take the meta annotation hierarchy into account.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions