com.sun.xml.ws.model
Class ReflectAnnotationReader

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

public class ReflectAnnotationReader
extends Object
implements MetadataReader

ReflectAnnotationReader


Constructor Summary
ReflectAnnotationReader()
           
 
Method Summary
<A extends Annotation>
A
getAnnotation(Class<A> annType, Class<?> cls)
           
<A extends Annotation>
A
getAnnotation(Class<A> annType, Method m)
           
 Annotation[] getAnnotations(Class<?> cls)
           
 Annotation[] getAnnotations(Method m)
           
 Annotation[][] getParameterAnnotations(Method method)
           
 void getProperties(Map<String,Object> prop, Class<?> cls)
           
 void getProperties(Map<String,Object> prop, Method method)
           
 void getProperties(Map<String,Object> prop, 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 Annotation[] getAnnotations(Method m)
Specified by:
getAnnotations in interface MetadataReader

getParameterAnnotations

public Annotation[][] getParameterAnnotations(Method method)
Specified by:
getParameterAnnotations in interface MetadataReader

getAnnotation

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

getAnnotation

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

getAnnotations

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

getProperties

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

getProperties

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

getProperties

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


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