Class JandexAnnotationRepositoryImpl
java.lang.Object
org.jboss.as.connector.annotations.repository.jandex.JandexAnnotationRepositoryImpl
- All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.AnnotationRepository
public class JandexAnnotationRepositoryImpl
extends Object
implements org.jboss.jca.common.spi.annotations.repository.AnnotationRepository
An AnnotationRepositoryImpl.
- Author:
- Stefano Maestri
-
Constructor Summary
ConstructorsConstructorDescriptionJandexAnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, ClassLoader cl) Create a new AnnotationRepositoryImpl using papaki backend -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.jboss.jca.common.spi.annotations.repository.Annotation>getAnnotation(Class<?> annotationClass)
-
Constructor Details
-
JandexAnnotationRepositoryImpl
public JandexAnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, ClassLoader cl) throws IllegalArgumentException Create a new AnnotationRepositoryImpl using papaki backend- Parameters:
backingRepository- the caking papaki repositorycl- classLoader- Throws:
IllegalArgumentException- in case pas sed repository is null
-
-
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
-