| org.springframework.aop.IntroductionAwareMethodMatcher
All known Subclasses: org.springframework.aop.aspectj.AspectJExpressionPointcut,
IntroductionAwareMethodMatcher | public interface IntroductionAwareMethodMatcher extends MethodMatcher(Code) | | A specialized type of MethodMatcher that takes into account introductions when
matching methods. If there are no introductions on the target class, a method
matcher may be able to optimize matching more effectively for example.
author: Adrian Colyer since: 2.0 |
Method Summary | |
boolean | matches(Method method, Class targetClass, boolean hasIntroductions) Perform static checking whether the given method matches. |
matches | boolean matches(Method method, Class targetClass, boolean hasIntroductions)(Code) | | Perform static checking whether the given method matches. This may be invoked
instead of the 2-arg
IntroductionAwareMethodMatcher.matches(java.lang.reflect.Method,Class) method
if the caller supports the extended IntroductionAwareMethodMatcher interface.
Parameters: method - the candidate method Parameters: targetClass - the target class (may be null , in which casethe candidate class must be taken to be the method's declaring class) Parameters: hasIntroductions - true if the object on whose behalf we areasking is the subject on one or more introductions; false otherwise whether or not this method matches statically |
|
|