com.sun.xml.ws.model
Class ReflectAnnotationReader

java.lang.Object
  extended by com.sun.xml.ws.model.ReflectAnnotationReader
All Implemented Interfaces:
MetadataReader
Direct Known Subclasses:
ExternalMetadataReader

public class ReflectAnnotationReader
extends java.lang.Object
implements MetadataReader

ReflectAnnotationReader


Constructor Summary
ReflectAnnotationReader()
           
 
Method Summary
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> annType, java.lang.Class<?> cls)
           
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> annType, java.lang.reflect.Method m)
           
 java.lang.annotation.Annotation[] getAnnotations(java.lang.Class<?> cls)
           
 java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.Method m)
           
 java.lang.annotation.Annotation[][] getParameterAnnotations(java.lang.reflect.Method method)
           
 void getProperties(java.util.Map<java.lang.String,java.lang.Object> prop, java.lang.Class<?> cls)
           
 void getProperties(java.util.Map<java.lang.String,java.lang.Object> prop, java.lang.reflect.Method method)
           
 void getProperties(java.util.Map<java.lang.String,java.lang.Object> prop, java.lang.reflect.Method method, int pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectAnnotationReader

public ReflectAnnotationReader()
Method Detail

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.Method m)
Specified by:
getAnnotations in interface MetadataReader

getParameterAnnotations

public java.lang.annotation.Annotation[][] getParameterAnnotations(java.lang.reflect.Method method)
Specified by:
getParameterAnnotations in interface MetadataReader

getAnnotation

public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annType,
                                                                   java.lang.reflect.Method m)
Specified by:
getAnnotation in interface MetadataReader

getAnnotation

public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annType,
                                                                   java.lang.Class<?> cls)
Specified by:
getAnnotation in interface MetadataReader

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations(java.lang.Class<?> cls)
Specified by:
getAnnotations in interface MetadataReader

getProperties

public void getProperties(java.util.Map<java.lang.String,java.lang.Object> prop,
                          java.lang.Class<?> cls)
Specified by:
getProperties in interface MetadataReader

getProperties

public void getProperties(java.util.Map<java.lang.String,java.lang.Object> prop,
                          java.lang.reflect.Method method)
Specified by:
getProperties in interface MetadataReader

getProperties

public void getProperties(java.util.Map<java.lang.String,java.lang.Object> prop,
                          java.lang.reflect.Method method,
                          int pos)
Specified by:
getProperties in interface MetadataReader


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.