org.jboss.metadata.annotation.finder
Interface AnnotationFinder<E extends AnnotatedElement>

All Known Implementing Classes:
DefaultAnnotationFinder

public interface AnnotationFinder<E extends AnnotatedElement>

Provides a way to look for annotations in an alternate registry.

Version:
$Revision: 65638 $
Author:
Carlo de Wolf

Method Summary
<T extends Annotation>
T
getAnnotation(E element, Class<T> annotationType)
           
 Annotation[] getAnnotations(E element)
           
 Annotation[] getDeclaredAnnotations(E element)
           
 boolean isAnnotationPresent(E element, Class<? extends Annotation> annotationType)
           
 

Method Detail

getAnnotation

<T extends Annotation> T getAnnotation(E element,
                                       Class<T> annotationType)

getAnnotations

Annotation[] getAnnotations(E element)

getDeclaredAnnotations

Annotation[] getDeclaredAnnotations(E element)

isAnnotationPresent

boolean isAnnotationPresent(E element,
                            Class<? extends Annotation> annotationType)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.