org.jboss.ejb3.metadata.annotation
Interface ExtendedAnnotationRepository

All Known Implementing Classes:
AnnotationRepositoryToMetaData

public interface ExtendedAnnotationRepository

Allows querying an annotation repository on classes which are also under advisement by this advisor, but not the advised class itself. (For interceptor classes associated with a class.) Note: this is not a full repository, but only an interrogator.

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

Method Summary
 boolean hasAnnotation(Class<?> cls, Class<? extends Annotation> annotationType)
           
 boolean hasAnnotation(Class<?> cls, Member member, Class<? extends Annotation> annotationType)
           
<A extends Annotation>
A
resolveAnnotation(Class<?> cls, Class<A> annotationType)
           
<A extends Annotation>
A
resolveAnnotation(Class<?> cls, Member member, Class<A> annotationType)
           
 

Method Detail

hasAnnotation

boolean hasAnnotation(Class<?> cls,
                      Class<? extends Annotation> annotationType)

hasAnnotation

boolean hasAnnotation(Class<?> cls,
                      Member member,
                      Class<? extends Annotation> annotationType)

resolveAnnotation

<A extends Annotation> A resolveAnnotation(Class<?> cls,
                                           Class<A> annotationType)

resolveAnnotation

<A extends Annotation> A resolveAnnotation(Class<?> cls,
                                           Member member,
                                           Class<A> annotationType)


Copyright © 2008 JBoss Inc.. All Rights Reserved.