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.EnumerablePropertySource

        EMPTY_NAMES_ARRAY, logger
      • Fields inherited from class org.springframework.core.env.PropertySource

        name, source
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void add(org.springframework.core.env.PropertySource<?> source) 
      Object getProperty(String name) 
      String[] getPropertyNames() 
      • 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 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 © 2014 Pivotal Software, Inc.. All rights reserved.