Reputation:
Is it possible in Spring AOP to implement a pointcut that matches types with a certain parent class?
I'd like to do it with the @AfterReturning
annotation.
Upvotes: 2
Views: 2456
Reputation: 12819
In AspectJ you can use some.package.ParentClass+
to represent "all classes that extend some.package.ParentClass
".
Upvotes: 6