Class MetaAnnotationMethodMatcher

  • All Implemented Interfaces:
    org.springframework.aop.MethodMatcher

    public class MetaAnnotationMethodMatcher
    extends org.springframework.aop.support.annotation.AnnotationMethodMatcher
    this code is taken almost verbatim from the Spring Integration project's source code where it's a static private inner class.
    Author:
    Mark Fisher
    • Field Summary

      • Fields inherited from interface org.springframework.aop.MethodMatcher

        TRUE
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaAnnotationMethodMatcher​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      Create a new AnnotationClassFilter for the given annotation type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.reflect.Method method, java.lang.Class targetClass)  
      • Methods inherited from class org.springframework.aop.support.annotation.AnnotationMethodMatcher

        equals, hashCode, toString
      • Methods inherited from class org.springframework.aop.support.StaticMethodMatcher

        isRuntime, matches
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MetaAnnotationMethodMatcher

        public MetaAnnotationMethodMatcher​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
        Create a new AnnotationClassFilter for the given annotation type.
        Parameters:
        annotationType - the annotation type to look for
    • Method Detail

      • matches

        public boolean matches​(java.lang.reflect.Method method,
                               java.lang.Class targetClass)
        Specified by:
        matches in interface org.springframework.aop.MethodMatcher
        Overrides:
        matches in class org.springframework.aop.support.annotation.AnnotationMethodMatcher