Skip to content

Introduce @Proxyable annotation for bean-specific proxy type #35296

@jhoeller

Description

@jhoeller

Following up on #35293, a convenient annotation next to @Bean and @Component is needed for enforcing a bean-specific proxy type (in case of the bean actually getting auto-proxied in the first place), overriding a globally configured default. As of Spring Framework 7.0, @Proxyable serves that purpose.

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