org.jboss.jca.common.spi.annotations.repository
Interface AnnotationRepository


public interface AnnotationRepository

A AnnotationRepository.

Author:
Stefano Maestri

Method Summary
 Collection<Annotation> getAnnotation(Class<?> class1)
          Return a collection of annotation of given type.
 

Method Detail

getAnnotation

Collection<Annotation> getAnnotation(Class<?> class1)
Return a collection of annotation of given type. In case no annotation has been found it return null.

Parameters:
class1 - the type of annotation looking for.
Returns:
a collection of annotations founded. Null in case of no one has been founded.


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