public class AnnotationRepositoryImpl extends java.lang.Object implements AnnotationRepository
Constructor and Description |
---|
AnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository,
java.lang.ClassLoader cl)
Create a new AnnotationRepositoryImpl using a Jandex backend
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Annotation> |
getAnnotation(java.lang.Class<?> annotationClass)
Return a collection of annotation of given type.
|
public AnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, java.lang.ClassLoader cl)
backingRepository
- The repositorycl
- The class loaderpublic java.util.Collection<Annotation> getAnnotation(java.lang.Class<?> annotationClass)
getAnnotation
in interface AnnotationRepository
annotationClass
- the type of annotation looking for.Copyright © 2013 IronJacamar (http://www.ironjacamar.org)