org.mule.util.scan.annotations
Class AnnotationTypeFilter

java.lang.Object
  extended by org.mule.util.scan.annotations.AnnotationTypeFilter
All Implemented Interfaces:
AnnotationFilter

public class AnnotationTypeFilter
extends Object
implements AnnotationFilter

Simply filters for annotations that match the annotation class


Constructor Summary
AnnotationTypeFilter(Class<? extends Annotation> annotation)
           
 
Method Summary
 boolean accept(AnnotationInfo info)
          Should the annotation represented by an AnnotationInfo object be accepted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationTypeFilter

public AnnotationTypeFilter(Class<? extends Annotation> annotation)
Method Detail

accept

public boolean accept(AnnotationInfo info)
Description copied from interface: AnnotationFilter
Should the annotation represented by an AnnotationInfo object be accepted

Specified by:
accept in interface AnnotationFilter
Parameters:
info - the annotation information to select on
Returns:
true if the annotation matches the criteria for this filter


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.