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 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 repository
      cl - 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:
      getAnnotation in interface org.jboss.jca.common.spi.annotations.repository.AnnotationRepository