-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Piotr Findeisen opened SPR-13816 and commented
steps to reproduce
- annotate a private method with
@EventListener - make sure the bean is proxied, e.g. due to
@Transactional - publish event
observed
- the non-overriden method on proxy is called
expected
- either this is supported and the method is called on actual instance, not on the proxy (like
@Autowired) - OR forbidden, detected and reported with an explicit exception during context start
Affects: 4.2.2
Issue Links:
- Scheduled method is not invoked via proxy [SPR-13914] #18488 Scheduled method is not invoked via proxy
- Validate @RequestMapping methods on AOP proxies [SPR-13842] #18415 Validate
@RequestMappingmethods on AOP proxies
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement