Package com.sun.xml.ws.model
Class ReflectAnnotationReader
- java.lang.Object
-
- com.sun.xml.ws.model.ReflectAnnotationReader
-
- All Implemented Interfaces:
MetadataReader
- Direct Known Subclasses:
ExternalMetadataReader
public class ReflectAnnotationReader extends Object implements MetadataReader
ReflectAnnotationReader- Author:
- shih-chang.chen@oracle.com
-
-
Constructor Summary
Constructors Constructor Description ReflectAnnotationReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Annotation>
AgetAnnotation(Class<A> annType, Class<?> cls)<A extends Annotation>
AgetAnnotation(Class<A> annType, Method m)Annotation[]getAnnotations(Class<?> cls)Annotation[]getAnnotations(Method m)Annotation[][]getParameterAnnotations(Method method)voidgetProperties(Map<String,Object> prop, Class<?> cls)voidgetProperties(Map<String,Object> prop, Method method)voidgetProperties(Map<String,Object> prop, Method method, int pos)
-
-
-
Method Detail
-
getAnnotations
public Annotation[] getAnnotations(Method m)
- Specified by:
getAnnotationsin interfaceMetadataReader
-
getParameterAnnotations
public Annotation[][] getParameterAnnotations(Method method)
- Specified by:
getParameterAnnotationsin interfaceMetadataReader
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annType, Method m)
- Specified by:
getAnnotationin interfaceMetadataReader
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annType, Class<?> cls)
- Specified by:
getAnnotationin interfaceMetadataReader
-
getAnnotations
public Annotation[] getAnnotations(Class<?> cls)
- Specified by:
getAnnotationsin interfaceMetadataReader
-
getProperties
public void getProperties(Map<String,Object> prop, Class<?> cls)
- Specified by:
getPropertiesin interfaceMetadataReader
-
getProperties
public void getProperties(Map<String,Object> prop, Method method)
- Specified by:
getPropertiesin interfaceMetadataReader
-
getProperties
public void getProperties(Map<String,Object> prop, Method method, int pos)
- Specified by:
getPropertiesin interfaceMetadataReader
-
-