List of usage examples for org.springframework.aop.support.annotation AnnotationClassFilter AnnotationClassFilter
public AnnotationClassFilter(Class<? extends Annotation> annotationType, boolean checkInherited)
From source file:org.activiti.spring.components.aop.util.MetaAnnotationMatchingPointcut.java
/** * Create a new MetaAnnotationMatchingPointcut for the given annotation type. * * @param classAnnotationType the annotation type to look for at the class level * @param checkInherited 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) *//*ww w . j a v a 2 s . c o m*/ public MetaAnnotationMatchingPointcut(Class<? extends Annotation> classAnnotationType, boolean checkInherited) { this.classFilter = new AnnotationClassFilter(classAnnotationType, checkInherited); this.methodMatcher = MethodMatcher.TRUE; }