Class MetaAnnotationMethodMatcher

java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.annotation.AnnotationMethodMatcher
org.camunda.bpm.engine.spring.components.aop.util.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(Class<? extends Annotation> annotationType)
    Create a new AnnotationClassFilter for the given annotation type.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(Method method, 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 Details

    • MetaAnnotationMethodMatcher

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

    • matches

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