java.lang.Object
com.sun.xml.ws.model.ReflectAnnotationReader
com.sun.xml.ws.model.ExternalMetadataReader
- All Implemented Interfaces:
MetadataReader
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:
- [email protected], [email protected]
-
Constructor Summary
ConstructorsConstructorDescriptionExternalMetadataReader
(Collection<File> files, Collection<String> resourcePaths, ClassLoader classLoader, boolean xsdValidation, boolean disableXmlSecurity) -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AgetAnnotation
(Class<A> annType, Class<?> cls) <A extends Annotation>
AgetAnnotation
(Class<A> annType, Method m) getAnnotations
(Class<?> c) Annotation[][]
void
getProperties
(Map<String, Object> prop, Class<?> cls) void
getProperties
(Map<String, Object> prop, Method m) void
getProperties
(Map<String, Object> prop, Method m, int pos)
-
Constructor Details
-
ExternalMetadataReader
public ExternalMetadataReader(Collection<File> files, Collection<String> resourcePaths, ClassLoader classLoader, boolean xsdValidation, boolean disableXmlSecurity)
-
-
Method Details
-
getAnnotation
- Specified by:
getAnnotation
in interfaceMetadataReader
- Overrides:
getAnnotation
in classReflectAnnotationReader
-
getAnnotations
- Specified by:
getAnnotations
in interfaceMetadataReader
- Overrides:
getAnnotations
in classReflectAnnotationReader
-
getAnnotations
- Specified by:
getAnnotations
in interfaceMetadataReader
- Overrides:
getAnnotations
in classReflectAnnotationReader
-
getAnnotation
- Specified by:
getAnnotation
in interfaceMetadataReader
- Overrides:
getAnnotation
in classReflectAnnotationReader
-
getParameterAnnotations
- Specified by:
getParameterAnnotations
in interfaceMetadataReader
- Overrides:
getParameterAnnotations
in classReflectAnnotationReader
-
getProperties
- Specified by:
getProperties
in interfaceMetadataReader
- Overrides:
getProperties
in classReflectAnnotationReader
-
getProperties
- Specified by:
getProperties
in interfaceMetadataReader
- Overrides:
getProperties
in classReflectAnnotationReader
-
getProperties
- Specified by:
getProperties
in interfaceMetadataReader
- Overrides:
getProperties
in classReflectAnnotationReader
-