Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » [javadoc | source]
org.springframework.aop
public interface: IntroductionAwareMethodMatcher [javadoc | source]

All Implemented Interfaces:
    MethodMatcher

All Known Implementing Classes:
    ClassFilterAwareUnionMethodMatcher, AspectJExpressionPointcut, IntersectionMethodMatcher, UnionMethodMatcher

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.
Method from org.springframework.aop.IntroductionAwareMethodMatcher Summary:
matches
Method from org.springframework.aop.IntroductionAwareMethodMatcher Detail:
 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(java.lang.reflect.Method, Class) method if the caller supports the extended IntroductionAwareMethodMatcher interface.