Class SysPropPropertySource


  • public class SysPropPropertySource
    extends org.springframework.core.env.MapPropertySource
    A specialized property source for the system properties are loaded from System.getProperties()
    Author:
    Yury Molchan
    • 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
    • Method Summary

      • Methods inherited from class org.springframework.core.env.MapPropertySource

        containsProperty, getProperty, getPropertyNames
      • Methods inherited from class org.springframework.core.env.PropertySource

        equals, getName, getSource, hashCode, named, toString
    • Constructor Detail

      • SysPropPropertySource

        public SysPropPropertySource​(Map<String,​Object> source)
        Create a new MapPropertySource with the given name and Map.
        Parameters:
        source - the Map source (without null values in order to get consistent MapPropertySource.getProperty(java.lang.String) and MapPropertySource.containsProperty(java.lang.String) behavior)