org.jboss.jca.common.annotations.repository.jandex
Class AnnotationRepositoryImpl

java.lang.Object
  extended by org.jboss.jca.common.annotations.repository.jandex.AnnotationRepositoryImpl
All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.AnnotationRepository

public class AnnotationRepositoryImpl
extends Object
implements org.jboss.jca.common.spi.annotations.repository.AnnotationRepository

An AnnotationRepositoryImpl.

Author:
Stefano Maestri, Jesper Pedersen

Constructor Summary
AnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository, ClassLoader cl)
          Create a new AnnotationRepositoryImpl using a Jandex backend
 
Method Summary
 Collection<org.jboss.jca.common.spi.annotations.repository.Annotation> getAnnotation(Class<?> annotationClass)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationRepositoryImpl

public AnnotationRepositoryImpl(org.jboss.jandex.Index backingRepository,
                                ClassLoader cl)
Create a new AnnotationRepositoryImpl using a Jandex backend

Parameters:
backingRepository - The repository
cl - The class loader
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


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)