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
Constructors Constructor Description JandexAnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, ClassLoader cl)Create a new AnnotationRepositoryImpl using papaki backend
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.jboss.jca.common.spi.annotations.repository.Annotation>getAnnotation(Class<?> annotationClass)
-
-
-
Constructor Detail
-
JandexAnnotationRepositoryImpl
public JandexAnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, ClassLoader cl) throws IllegalArgumentExceptionCreate a new AnnotationRepositoryImpl using papaki backend- Parameters:
backingRepository- the caking papaki repositorycl- classLoader- Throws:
IllegalArgumentException- in case pas sed repository is null
-
-
Method Detail
-
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
-
-