public class BeanPropertiesPropertySource<T>
extends org.springframework.core.env.EnumerablePropertySource<T>
PropertySource
that exposes the javabeans properties of an object as properties.Constructor and Description |
---|
BeanPropertiesPropertySource(java.lang.String name,
T source) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String[] |
getPropertyNames() |
public BeanPropertiesPropertySource(java.lang.String name, T source)
public java.lang.String[] getPropertyNames()
getPropertyNames
in class org.springframework.core.env.EnumerablePropertySource<T>
public java.lang.Object getProperty(java.lang.String name)
getProperty
in class org.springframework.core.env.PropertySource<T>