org.springframework.boot.env

Class EnumerableCompositePropertySource

  • java.lang.Object
    • org.springframework.core.env.PropertySource<T>
      • org.springframework.core.env.EnumerablePropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
        • org.springframework.boot.env.EnumerableCompositePropertySource


  • public class EnumerableCompositePropertySource
    extends org.springframework.core.env.EnumerablePropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
    An mutable, enumerable, composite property source. New sources are added last (and hence resolved with lowest priority).
    Author:
    Dave Syer
    See Also:
    PropertySource, EnumerablePropertySource
    • 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

      • EnumerableCompositePropertySource

        public EnumerableCompositePropertySource(String sourceName)
    • Method Detail

      • getProperty

        public Object getProperty(String name)
        Specified by:
        getProperty in class org.springframework.core.env.PropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
      • getPropertyNames

        public String[] getPropertyNames()
        Specified by:
        getPropertyNames in class org.springframework.core.env.EnumerablePropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
      • add

        public void add(org.springframework.core.env.PropertySource<?> source)

Copyright © 2017 Pivotal Software, Inc.. All rights reserved.