Skip to content

Add option to Proxy factories to copy parameter-level annotations [SPR-8560] #13204

@spring-projects-issues

Description

@spring-projects-issues

Paul Benedict opened SPR-8560 and commented

When using proxies from Spring AOP, it is not possible to examine the intercepted method for ElementType.PARAMETER annotations. My best solution so far, which wastes cycles, is to unwrap the spring proxy, lookup the actual method on the target source with the same call signature and then examine that for annotations.

Spring could easily provide a better way if it allowed these annotations to be copied onto the proxy method.


Affects: 3.0 GA

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: bulk-closedAn outdated, unresolved issue that's closed in bulk as part of a cleaning process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions