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