-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
Jon Rimmer opened SPR-16645 and commented
The ability for beans to self autowire was added in: #13096
However, this does not work if the bean to self wire is transactional, e.g. has at least one method annotated with @transactional when transactions are enabled.
See the linked GitHub project for a very simple reproduction.
Affects: 5.0.4
Reference URL: https://github.com/jonrimmer/spring-self-autowiring-is-broken
Issue Links:
- Support @Autowired-like self injection [SPR-8450] #13096 Support
@Autowired-likeself injection
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid