com.sun.xml.ws.model
Class ExternalMetadataReader
java.lang.Object
com.sun.xml.ws.model.ReflectAnnotationReader
com.sun.xml.ws.model.ExternalMetadataReader
- All Implemented Interfaces:
- MetadataReader
public class ExternalMetadataReader
- extends ReflectAnnotationReader
Metadata Reader able to read from either class annotations or external metadata files or combine both,
depending on configuration provided in xml file itself.
- Author:
- shih-chang.chen@oracle.com, miroslav.kos@oracle.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalMetadataReader
public ExternalMetadataReader(Collection<File> files,
Collection<String> resourcePaths,
ClassLoader classLoader,
boolean xsdValidation,
boolean disableXmlSecurity)
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annType,
Class<?> cls)
- Specified by:
getAnnotation in interface MetadataReader- Overrides:
getAnnotation in class ReflectAnnotationReader
getAnnotations
public Annotation[] getAnnotations(Class<?> c)
- Specified by:
getAnnotations in interface MetadataReader- Overrides:
getAnnotations in class ReflectAnnotationReader
getAnnotations
public Annotation[] getAnnotations(Method m)
- Specified by:
getAnnotations in interface MetadataReader- Overrides:
getAnnotations in class ReflectAnnotationReader
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annType,
Method m)
- Specified by:
getAnnotation in interface MetadataReader- Overrides:
getAnnotation in class ReflectAnnotationReader
getParameterAnnotations
public Annotation[][] getParameterAnnotations(Method m)
- Specified by:
getParameterAnnotations in interface MetadataReader- Overrides:
getParameterAnnotations in class ReflectAnnotationReader
getProperties
public void getProperties(Map<String,Object> prop,
Class<?> cls)
- Specified by:
getProperties in interface MetadataReader- Overrides:
getProperties in class ReflectAnnotationReader
getProperties
public void getProperties(Map<String,Object> prop,
Method m)
- Specified by:
getProperties in interface MetadataReader- Overrides:
getProperties in class ReflectAnnotationReader
getProperties
public void getProperties(Map<String,Object> prop,
Method m,
int pos)
- Specified by:
getProperties in interface MetadataReader- Overrides:
getProperties in class ReflectAnnotationReader
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.