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 java.lang.Object
implements AnnotationAdvisor

Comment

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

Constructor Summary
AnnotationAdvisorSupport()
           
 
Method Summary
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<?> cls, java.lang.Class<T> annotationClass)
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<?> cls, java.lang.reflect.Field field, java.lang.Class<T> annotationClass)
           
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<?> cls, java.lang.reflect.Method method, java.lang.Class<T> annotationClass)
           
 boolean isAnnotationPresent(java.lang.Class<?> cls, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 boolean isAnnotationPresent(java.lang.Class<?> cls, java.lang.reflect.Field field, java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 boolean isAnnotationPresent(java.lang.Class<?> cls, java.lang.reflect.Method method, java.lang.Class<? extends java.lang.annotation.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 java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<?> cls,
                                                                   java.lang.Class<T> annotationClass)
Specified by:
getAnnotation in interface AnnotationAdvisor

getAnnotation

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

getAnnotation

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

isAnnotationPresent

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

isAnnotationPresent

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

isAnnotationPresent

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


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