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 ofEnumerablePropertySource
where a source is an Apache Commons Configuration 2Configuration
.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description ApacheCommonsConfiguration2PropertySource(String name, org.apache.commons.configuration2.Configuration source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getProperty(String name)
String[]
getPropertyNames()
-
-
-
Constructor Detail
-
ApacheCommonsConfiguration2PropertySource
public ApacheCommonsConfiguration2PropertySource(String name, org.apache.commons.configuration2.Configuration source)
-
-
Method Detail
-
getPropertyNames
public String[] getPropertyNames()
- Specified by:
getPropertyNames
in classorg.springframework.core.env.EnumerablePropertySource<org.apache.commons.configuration2.Configuration>
-
-