org.springframework.aop
Interface IntroductionAwareMethodMatcher

public interface IntroductionAwareMethodMatcher
extends MethodMatcher
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.
Since2.0
VersionNot specified.
AuthorAdrian Colyer
Wiki javadoc Use textile entry format.
Add your comments here.
Method Summary
boolean matches( Method method, Class targetClass, boolean hasIntroductions )
Perform static checking whether the given method matches.
matches
public boolean matches ( Method method, Class targetClass, boolean hasIntroductions )
Perform static checking whether the given method matches. This may be invoked instead of the 2-arg matches(Method, Class) method if the caller supports the extended IntroductionAwareMethodMatcher interface.
Parameters
TypeNameDescription
Method method the candidate method
Class targetClass the target class (may be null, in which case the candidate class must be taken to be the method's declaring class)
boolean hasIntroductions true if the object on whose behalf we are asking is the subject on one or more introductions; false otherwise
Wiki javadoc Use textile entry format.
Add your comments here.