类 ImmutableMapPropertySource


  • public class ImmutableMapPropertySource
    extends org.springframework.core.env.MapPropertySource
    Immutable MapPropertySource
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    另请参阅:
    MapPropertySource
    • 嵌套类概要

      • 从类继承的嵌套类/接口 org.springframework.core.env.PropertySource

        org.springframework.core.env.PropertySource.StubPropertySource
    • 字段概要

      • 从类继承的字段 org.springframework.core.env.PropertySource

        logger, name, source
    • 构造器概要

      构造器 
      构造器 说明
      ImmutableMapPropertySource​(java.lang.String name, java.util.Map source)
      Create a new immutable MapPropertySource with the given name and Map.
    • 方法概要

      • 从类继承的方法 org.springframework.core.env.MapPropertySource

        containsProperty, getProperty, getPropertyNames
      • 从类继承的方法 org.springframework.core.env.PropertySource

        equals, getName, getSource, hashCode, named, toString
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • ImmutableMapPropertySource

        public ImmutableMapPropertySource​(java.lang.String name,
                                          java.util.Map source)
        Create a new immutable MapPropertySource with the given name and Map.
        参数:
        name - the associated name
        source - the Map source (without null values in order to get consistent MapPropertySource.getProperty(java.lang.String) and MapPropertySource.containsProperty(java.lang.String) behavior)