Skip to content

AOP support for SPR-17223 & PR#1950 [SPR-17496] #22028

Closed

Description

@spring-projects-issues

s-mop opened SPR-17496 and commented

In previous commit at PR#1950 we supported register RequestMapping on Interface which implement in parent class.And it works well in our production environment for this 7 weks. See #21756

 

And several days ago I realized that I can't register a AOP cutpoint for the scenario.

So i tried to changed the logic of org.springframework.aop.support.AopUtils.getMostSpecificMethod(Method, Class<?>)

Now this logic will try to find specific method in targetClass's interfaces first.Instead of only do that in targetClass.

I hope this commit can make my PR more helpful;)


Affects: 5.1 GA

Reference URL: c76f017

Issue Links:

Referenced from: pull request #1950

Activity

  1. spring-projects-issues commented on Nov 15, 2018

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    Alright, I'll have a look at both cases together then...

  2. added
    type: enhancement
    in: core
    on Jan 11, 2019
  3. rstoyanchev commented on Dec 3, 2021

    @rstoyanchev
    Contributor

    Closing along with #21756.

  4. removed this from the 6.x Backlog milestone on Dec 3, 2021
  5. added
    status: declined
    on Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: corestatus: declinedtype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions