类 SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<Map<String,Object>>
org.springframework.core.env.EnumerablePropertySource<Map<String,Object>>
org.springframework.core.env.MapPropertySource
org.springframework.core.env.SystemEnvironmentPropertySource
org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
- 所有已实现的接口:
OriginLookup<String>
protected static class SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
extends SystemEnvironmentPropertySource
implements OriginLookup<String>
SystemEnvironmentPropertySource
that also tracks Origin
.-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.core.env.PropertySource
PropertySource.StubPropertySource
-
字段概要
从类继承的字段 org.springframework.core.env.PropertySource
logger, name, source
-
方法概要
修饰符和类型方法说明boolean
containsProperty
(String name) Return the origin of the given key ornull
if the origin cannot be determined.Return the implicit prefix that is applied when performing a lookup ornull
if no prefix is used.getProperty
(String name) 从类继承的方法 org.springframework.core.env.SystemEnvironmentPropertySource
resolvePropertyName
从类继承的方法 org.springframework.core.env.MapPropertySource
getPropertyNames
从类继承的方法 org.springframework.core.env.PropertySource
equals, getName, getSource, hashCode, named, toString
从接口继承的方法 org.springframework.boot.origin.OriginLookup
isImmutable
-
方法详细资料
-
containsProperty
-
getProperty
-
getOrigin
从接口复制的说明:OriginLookup
Return the origin of the given key ornull
if the origin cannot be determined.- 指定者:
getOrigin
在接口中OriginLookup<String>
- 参数:
key
- the key to lookup- 返回:
- the origin of the key or
null
-
getPrefix
从接口复制的说明:OriginLookup
Return the implicit prefix that is applied when performing a lookup ornull
if no prefix is used. Prefixes can be used to disambiguate keys that would otherwise clash. For example, if multiple applications are running on the same machine a different prefix can be set on each application to ensure that different environment variables are used.- 指定者:
getPrefix
在接口中OriginLookup<String>
- 返回:
- the prefix applied by the lookup class or
null
.
-