|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.util.scan.annotations.MetaAnnotationTypeFilter
public class MetaAnnotationTypeFilter
Will filter for a meta annotation type specified as the annotation class. Meta annotations are annotations on other annotations. this filter allows discovery of annotations on a class that have the same meta annotation.
Field Summary | |
---|---|
protected Log |
logger
logger used by this class |
Constructor Summary | |
---|---|
MetaAnnotationTypeFilter(Class<? extends Annotation> annotation)
Creates an Meta Annotation Filter that look for Meta annotation on an annotation class. |
|
MetaAnnotationTypeFilter(Class<? extends Annotation> annotation,
ClassLoader classLoader)
Creates an Meta Annotation Filter that look for Meta annotation on an annotation class |
Method Summary | |
---|---|
boolean |
accept(AnnotationInfo info)
Should the annotation represented by an AnnotationInfo object be
accepted |
URL |
getClassURL(String className)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final transient Log logger
Constructor Detail |
---|
public MetaAnnotationTypeFilter(Class<? extends Annotation> annotation, ClassLoader classLoader)
annotation
- the annotation class to readbasepath
- the base path of the location of the class. Specifying this will be more
reliable in applications that use Multiple classloaders since ASM uses the system classloader
to read classes and thus ignores child classloaders. The basepath should also start with a scheme,
usually file: or jar:public MetaAnnotationTypeFilter(Class<? extends Annotation> annotation)
annotation
- the annotation class to readMethod Detail |
---|
public boolean accept(AnnotationInfo info)
AnnotationFilter
AnnotationInfo
object be
accepted
accept
in interface AnnotationFilter
info
- the annotation information to select on
public URL getClassURL(String className)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |