Class ConfigurationPropertySource
- java.lang.Object
-
- org.springframework.core.env.PropertySource<T>
-
- org.springframework.core.env.EnumerablePropertySource<Configuration>
-
- org.apache.commons.configuration2.spring.ConfigurationPropertySource
-
public class ConfigurationPropertySource extends org.springframework.core.env.EnumerablePropertySource<Configuration>
Allow use of Apache Commons Configuration Objects as Spring PropertySources
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConfigurationPropertySource(java.lang.String name)
ConfigurationPropertySource(java.lang.String name, Configuration source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getProperty(java.lang.String name)
java.lang.String[]
getPropertyNames()
-
-
-
Constructor Detail
-
ConfigurationPropertySource
public ConfigurationPropertySource(java.lang.String name, Configuration source)
-
ConfigurationPropertySource
protected ConfigurationPropertySource(java.lang.String name)
-
-
Method Detail
-
getPropertyNames
public java.lang.String[] getPropertyNames()
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<Configuration>
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<Configuration>
-
-