Class AnnotationRepositoryImpl
java.lang.Object
org.jboss.jca.common.annotations.repository.jandex.AnnotationRepositoryImpl
- All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.AnnotationRepository
public class AnnotationRepositoryImpl
extends Object
implements org.jboss.jca.common.spi.annotations.repository.AnnotationRepository
An AnnotationRepositoryImpl.
- Author:
- Stefano Maestri, Jesper Pedersen
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, ClassLoader cl) Create a new AnnotationRepositoryImpl using a Jandex backend -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.jboss.jca.common.spi.annotations.repository.Annotation> getAnnotation(Class<?> annotationClass)
-
Constructor Details
-
AnnotationRepositoryImpl
Create a new AnnotationRepositoryImpl using a Jandex backend- Parameters:
backingRepository- The repositorycl- The class loader
-
-
Method Details
-
getAnnotation
public Collection<org.jboss.jca.common.spi.annotations.repository.Annotation> getAnnotation(Class<?> annotationClass) - Specified by:
getAnnotationin interfaceorg.jboss.jca.common.spi.annotations.repository.AnnotationRepository
-