public class AnnotationMetadataReader
A more limited version of Spring's annotation reader that only reads annotations on classes
| Constructor and description |
|---|
AnnotationMetadataReader
(org.springframework.core.io.Resource resource, java.lang.ClassLoader classLoader)Reads only the annotation names from a class resource |
AnnotationMetadataReader
(org.springframework.core.io.Resource resource, java.lang.ClassLoader classLoader, boolean readAttributeValues)Constructs a new annotation metadata reader |
| Type Params | Return Type | Name and description |
|---|---|---|
|
org.springframework.core.type.AnnotationMetadata |
getAnnotationMetadata() |
|
org.springframework.core.type.ClassMetadata |
getClassMetadata() |
|
org.springframework.core.io.Resource |
getResource() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Reads only the annotation names from a class resource
resource - The resourceclassLoader - The classloaderConstructs a new annotation metadata reader
resource - The resourceclassLoader - The classloaderreadAttributeValues - Whether to read the attributes in addition or just the annotation class names