Skip to content

Proxy created for intercept-methods doesn't respect autowire-candidate attribute [SPR-6974] #11639

@spring-projects-issues

Description

@spring-projects-issues

Wouter Coekaerts opened SPR-6974 and commented

When using intercept-methods in a bean definition with autowire-candidate="false", the created proxy is still a candidate for autowiring.

Attached a sample to reproduce the problem.

This is the same problem as was fixed for aop:scoped-proxy in #8484.


Affects: 3.0.1

Attachments:

Referenced from: commits d4de1ac

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions