Package org.craftercms.commons.spring
Class ApacheCommonsConfiguration2PropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<org.apache.commons.configuration2.Configuration>
org.craftercms.commons.spring.ApacheCommonsConfiguration2PropertySource
public class ApacheCommonsConfiguration2PropertySource
extends org.springframework.core.env.EnumerablePropertySource<org.apache.commons.configuration2.Configuration>
Implementation of
EnumerablePropertySource
where a source is an Apache Commons Configuration 2 Configuration
.- Author:
- avasquez
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource
org.springframework.core.env.PropertySource.StubPropertySource
-
Field Summary
Fields inherited from class org.springframework.core.env.PropertySource
logger, name, source
-
Constructor Summary
ConstructorsConstructorDescriptionApacheCommonsConfiguration2PropertySource
(String name, org.apache.commons.configuration2.Configuration source) -
Method Summary
Methods inherited from class org.springframework.core.env.EnumerablePropertySource
containsProperty
Methods inherited from class org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
-
Constructor Details
-
ApacheCommonsConfiguration2PropertySource
public ApacheCommonsConfiguration2PropertySource(String name, org.apache.commons.configuration2.Configuration source)
-
-
Method Details
-
getPropertyNames
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<org.apache.commons.configuration2.Configuration>
-
getProperty
- Specified by:
getProperty
in classorg.springframework.core.env.PropertySource<org.apache.commons.configuration2.Configuration>
-