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