
public class AnnotationRepositoryImpl extends Object implements org.jboss.jca.common.spi.annotations.repository.AnnotationRepository
| Constructor and Description |
|---|
AnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository,
ClassLoader cl)
Create a new AnnotationRepositoryImpl using a Jandex backend
|
| Modifier and Type | Method and Description |
|---|---|
Collection<org.jboss.jca.common.spi.annotations.repository.Annotation> |
getAnnotation(Class<?> annotationClass)
Return a collection of annotation of given type.
|
public AnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository,
ClassLoader cl)
backingRepository - The repositorycl - The class loaderpublic Collection<org.jboss.jca.common.spi.annotations.repository.Annotation> getAnnotation(Class<?> annotationClass)
getAnnotation in interface org.jboss.jca.common.spi.annotations.repository.AnnotationRepositoryannotationClass - the type of annotation looking for.Copyright © 2013 IronJacamar (http://www.ironjacamar.org)