Class 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 Detail

      • ApacheCommonsConfiguration2PropertySource

        public ApacheCommonsConfiguration2PropertySource​(String name,
                                                         org.apache.commons.configuration2.Configuration source)
    • Method Detail

      • getPropertyNames

        public String[] getPropertyNames()
        Specified by:
        getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<org.apache.commons.configuration2.Configuration>
      • getProperty

        public Object getProperty​(String name)
        Specified by:
        getProperty in class org.springframework.core.env.PropertySource<org.apache.commons.configuration2.Configuration>