org.jboss.resteasy.cdi
Class JaxrsAnnotatedType<TYPE>

java.lang.Object
  extended by org.jboss.resteasy.cdi.JaxrsAnnotatedType<TYPE>
All Implemented Interfaces:
javax.enterprise.inject.spi.Annotated, javax.enterprise.inject.spi.AnnotatedType<TYPE>

public class JaxrsAnnotatedType<TYPE>
extends java.lang.Object
implements javax.enterprise.inject.spi.AnnotatedType<TYPE>

This wrapper allows additional metadata to be added during bootstrap.

Author:
Jozef Hartinger

Constructor Summary
JaxrsAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<TYPE> delegate, java.lang.annotation.Annotation scope)
           
 
Method Summary
<T extends java.lang.annotation.Annotation>
T
getAnnotation(java.lang.Class<T> annotationType)
           
 java.util.Set<java.lang.annotation.Annotation> getAnnotations()
           
 java.lang.reflect.Type getBaseType()
           
 java.util.Set<javax.enterprise.inject.spi.AnnotatedConstructor<TYPE>> getConstructors()
           
 java.util.Set<javax.enterprise.inject.spi.AnnotatedField<? super TYPE>> getFields()
           
 java.lang.Class<TYPE> getJavaClass()
           
 java.util.Set<javax.enterprise.inject.spi.AnnotatedMethod<? super TYPE>> getMethods()
           
 java.util.Set<java.lang.reflect.Type> getTypeClosure()
           
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxrsAnnotatedType

public JaxrsAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<TYPE> delegate,
                          java.lang.annotation.Annotation scope)
Method Detail

getConstructors

public java.util.Set<javax.enterprise.inject.spi.AnnotatedConstructor<TYPE>> getConstructors()
Specified by:
getConstructors in interface javax.enterprise.inject.spi.AnnotatedType<TYPE>

getFields

public java.util.Set<javax.enterprise.inject.spi.AnnotatedField<? super TYPE>> getFields()
Specified by:
getFields in interface javax.enterprise.inject.spi.AnnotatedType<TYPE>

getJavaClass

public java.lang.Class<TYPE> getJavaClass()
Specified by:
getJavaClass in interface javax.enterprise.inject.spi.AnnotatedType<TYPE>

getMethods

public java.util.Set<javax.enterprise.inject.spi.AnnotatedMethod<? super TYPE>> getMethods()
Specified by:
getMethods in interface javax.enterprise.inject.spi.AnnotatedType<TYPE>

getAnnotation

public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Specified by:
getAnnotation in interface javax.enterprise.inject.spi.Annotated

getAnnotations

public java.util.Set<java.lang.annotation.Annotation> getAnnotations()
Specified by:
getAnnotations in interface javax.enterprise.inject.spi.Annotated

getBaseType

public java.lang.reflect.Type getBaseType()
Specified by:
getBaseType in interface javax.enterprise.inject.spi.Annotated

getTypeClosure

public java.util.Set<java.lang.reflect.Type> getTypeClosure()
Specified by:
getTypeClosure in interface javax.enterprise.inject.spi.Annotated

isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Specified by:
isAnnotationPresent in interface javax.enterprise.inject.spi.Annotated


Copyright © 2010. All Rights Reserved.