Class 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 Detail

      • JandexAnnotationRepositoryImpl

        public JandexAnnotationRepositoryImpl​(org.jboss.jandex.Index backingRepository,
                                              ClassLoader cl)
                                       throws IllegalArgumentException
        Create a new AnnotationRepositoryImpl using papaki backend
        Parameters:
        backingRepository - the caking papaki repository
        cl - 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:
        getAnnotation in interface org.jboss.jca.common.spi.annotations.repository.AnnotationRepository