org.jboss.ejb3.interceptors.annotation
Class AnnotationAdvisorSupport

java.lang.Object
  extended by org.jboss.ejb3.interceptors.annotation.AnnotationAdvisorSupport
All Implemented Interfaces:
AnnotationAdvisor
Direct Known Subclasses:
AbstractContainer

public class AnnotationAdvisorSupport
extends Object
implements AnnotationAdvisor

Comment

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

Constructor Summary
AnnotationAdvisorSupport()
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<?> cls, Class<T> annotationClass)
           
<T extends Annotation>
T
getAnnotation(Class<?> cls, Field field, Class<T> annotationClass)
           
<T extends Annotation>
T
getAnnotation(Class<?> cls, Method method, Class<T> annotationClass)
           
 boolean isAnnotationPresent(Class<?> cls, Class<? extends Annotation> annotationClass)
           
 boolean isAnnotationPresent(Class<?> cls, Field field, Class<? extends Annotation> annotationClass)
           
 boolean isAnnotationPresent(Class<?> cls, Method method, Class<? extends Annotation> annotationClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationAdvisorSupport

public AnnotationAdvisorSupport()
Method Detail

getAnnotation

public <T extends Annotation> T getAnnotation(Class<?> cls,
                                              Class<T> annotationClass)
Specified by:
getAnnotation in interface AnnotationAdvisor

getAnnotation

public <T extends Annotation> T getAnnotation(Class<?> cls,
                                              Field field,
                                              Class<T> annotationClass)
Specified by:
getAnnotation in interface AnnotationAdvisor

getAnnotation

public <T extends Annotation> T getAnnotation(Class<?> cls,
                                              Method method,
                                              Class<T> annotationClass)
Specified by:
getAnnotation in interface AnnotationAdvisor

isAnnotationPresent

public boolean isAnnotationPresent(Class<?> cls,
                                   Class<? extends Annotation> annotationClass)
Specified by:
isAnnotationPresent in interface AnnotationAdvisor

isAnnotationPresent

public boolean isAnnotationPresent(Class<?> cls,
                                   Field field,
                                   Class<? extends Annotation> annotationClass)
Specified by:
isAnnotationPresent in interface AnnotationAdvisor

isAnnotationPresent

public boolean isAnnotationPresent(Class<?> cls,
                                   Method method,
                                   Class<? extends Annotation> annotationClass)
Specified by:
isAnnotationPresent in interface AnnotationAdvisor


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