public class AnnotationsPropertySource
extends org.springframework.core.env.EnumerablePropertySource<java.lang.Class<?>>
EnumerablePropertySource to adapt annotations marked with
@PropertyMapping.| Constructor and Description |
|---|
AnnotationsPropertySource(java.lang.Class<?> source) |
AnnotationsPropertySource(java.lang.String name,
java.lang.Class<?> source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(java.lang.String name) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String[] |
getPropertyNames() |
int |
hashCode() |
boolean |
isEmpty() |
public AnnotationsPropertySource(java.lang.Class<?> source)
public AnnotationsPropertySource(java.lang.String name,
java.lang.Class<?> source)
public boolean containsProperty(java.lang.String name)
containsProperty in class org.springframework.core.env.EnumerablePropertySource<java.lang.Class<?>>public java.lang.Object getProperty(java.lang.String name)
getProperty in class org.springframework.core.env.PropertySource<java.lang.Class<?>>public java.lang.String[] getPropertyNames()
getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<java.lang.Class<?>>public boolean isEmpty()
public boolean equals(java.lang.Object obj)
equals in class org.springframework.core.env.PropertySource<java.lang.Class<?>>public int hashCode()
hashCode in class org.springframework.core.env.PropertySource<java.lang.Class<?>>