public class ExternalMetadataReader extends ReflectAnnotationReader
Constructor and Description |
---|
ExternalMetadataReader(Collection<File> files,
Collection<String> resourcePaths,
ClassLoader classLoader,
boolean xsdValidation,
boolean disableXmlSecurity) |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotation(Class<A> annType,
Class<?> cls) |
<A extends Annotation> |
getAnnotation(Class<A> annType,
Method m) |
Annotation[] |
getAnnotations(Class<?> c) |
Annotation[] |
getAnnotations(Method m) |
Annotation[][] |
getParameterAnnotations(Method m) |
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) |
public ExternalMetadataReader(Collection<File> files, Collection<String> resourcePaths, ClassLoader classLoader, boolean xsdValidation, boolean disableXmlSecurity)
public <A extends Annotation> A getAnnotation(Class<A> annType, Class<?> cls)
getAnnotation
in interface MetadataReader
getAnnotation
in class ReflectAnnotationReader
public Annotation[] getAnnotations(Class<?> c)
getAnnotations
in interface MetadataReader
getAnnotations
in class ReflectAnnotationReader
public Annotation[] getAnnotations(Method m)
getAnnotations
in interface MetadataReader
getAnnotations
in class ReflectAnnotationReader
public <A extends Annotation> A getAnnotation(Class<A> annType, Method m)
getAnnotation
in interface MetadataReader
getAnnotation
in class ReflectAnnotationReader
public Annotation[][] getParameterAnnotations(Method m)
getParameterAnnotations
in interface MetadataReader
getParameterAnnotations
in class ReflectAnnotationReader
public void getProperties(Map<String,Object> prop, Class<?> cls)
getProperties
in interface MetadataReader
getProperties
in class ReflectAnnotationReader
public void getProperties(Map<String,Object> prop, Method m)
getProperties
in interface MetadataReader
getProperties
in class ReflectAnnotationReader
public void getProperties(Map<String,Object> prop, Method m, int pos)
getProperties
in interface MetadataReader
getProperties
in class ReflectAnnotationReader
Copyright © 2015 Oracle Corporation. All rights reserved.