Class MetaAnnotationMatchingPointcut
- java.lang.Object
-
- org.camunda.bpm.engine.spring.components.aop.util.MetaAnnotationMatchingPointcut
-
- All Implemented Interfaces:
org.springframework.aop.Pointcut
public class MetaAnnotationMatchingPointcut extends java.lang.Object implements org.springframework.aop.Pointcutthis code is taken almost (99.99%) verbatim from the Spring Integration project's source code where it's a static private inner class.- Author:
- Mark Fisher
-
-
Constructor Summary
Constructors Constructor Description MetaAnnotationMatchingPointcut(java.lang.Class<? extends java.lang.annotation.Annotation> classAnnotationType, boolean checkInherited)Create a new MetaAnnotationMatchingPointcut for the given annotation type.MetaAnnotationMatchingPointcut(java.lang.Class<? extends java.lang.annotation.Annotation> classAnnotationType, java.lang.Class<? extends java.lang.annotation.Annotation> methodAnnotationType)Create a new MetaAnnotationMatchingPointcut for the given annotation type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.aop.ClassFiltergetClassFilter()org.springframework.aop.MethodMatchergetMethodMatcher()
-
-
-
Constructor Detail
-
MetaAnnotationMatchingPointcut
public MetaAnnotationMatchingPointcut(java.lang.Class<? extends java.lang.annotation.Annotation> classAnnotationType, boolean checkInherited)Create a new MetaAnnotationMatchingPointcut for the given annotation type.- Parameters:
classAnnotationType- the annotation type to look for at the class levelcheckInherited- whether to explicitly check the superclasses and interfaces for the annotation type as well (even if the annotation type is not marked as inherited itself)
-
MetaAnnotationMatchingPointcut
public MetaAnnotationMatchingPointcut(java.lang.Class<? extends java.lang.annotation.Annotation> classAnnotationType, java.lang.Class<? extends java.lang.annotation.Annotation> methodAnnotationType)Create a new MetaAnnotationMatchingPointcut for the given annotation type.- Parameters:
classAnnotationType- the annotation type to look for at the class level (can benull)methodAnnotationType- the annotation type to look for at the method level (can benull)
-
-
Method Detail
-
getClassFilter
public org.springframework.aop.ClassFilter getClassFilter()
- Specified by:
getClassFilterin interfaceorg.springframework.aop.Pointcut
-
getMethodMatcher
public org.springframework.aop.MethodMatcher getMethodMatcher()
- Specified by:
getMethodMatcherin interfaceorg.springframework.aop.Pointcut
-
-