public class AnnotationRepositoryImpl
extends java.lang.Object
implements org.jboss.jca.common.spi.annotations.repository.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<org.jboss.jca.common.spi.annotations.repository.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<org.jboss.jca.common.spi.annotations.repository.Annotation> getAnnotation(java.lang.Class<?> annotationClass)
getAnnotation
in interface org.jboss.jca.common.spi.annotations.repository.AnnotationRepository
annotationClass
- the type of annotation looking for.Copyright © 2014 IronJacamar (http://www.ironjacamar.org)