public class AnnotationsPropertySource extends EnumerablePropertySource<Class<?>>
EnumerablePropertySource
to adapt annotations marked with
@PropertyMapping
.PropertySource.StubPropertySource
logger, name, source
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() |
getName, getSource, named, toString
public AnnotationsPropertySource(Class<?> source)
public boolean containsProperty(String name)
containsProperty
in class EnumerablePropertySource<Class<?>>
public Object getProperty(String name)
getProperty
in class PropertySource<Class<?>>
public String[] getPropertyNames()
getPropertyNames
in class EnumerablePropertySource<Class<?>>
public boolean isEmpty()
public int hashCode()
hashCode
in class PropertySource<Class<?>>
public boolean equals(Object obj)
equals
in class PropertySource<Class<?>>
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.