org.camunda.bpm.engine.spring.components.aop.util
Class MetaAnnotationMethodMatcher

java.lang.Object
  extended by org.springframework.aop.support.StaticMethodMatcher
      extended by org.springframework.aop.support.annotation.AnnotationMethodMatcher
          extended by 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
MetaAnnotationMethodMatcher(Class<? extends Annotation> annotationType)
          Create a new AnnotationClassFilter for the given annotation type.
 
Method Summary
 boolean matches(Method method, Class targetClass)
           
 
Methods inherited from class org.springframework.aop.support.StaticMethodMatcher
isRuntime, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2017 camunda services GmbH. All rights reserved.