类 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 -
方法概要
修饰符和类型方法说明booleancontainsProperty(String name) Return the origin of the given key ornullif the origin cannot be determined.Return the implicit prefix that is applied when performing a lookup ornullif no prefix is used.getProperty(String name) booleanReturntrueif this lookup is immutable and has contents that will never change.从类继承的方法 org.springframework.core.env.SystemEnvironmentPropertySource
resolvePropertyName从类继承的方法 org.springframework.core.env.MapPropertySource
getPropertyNames
-
方法详细资料
-
containsProperty
-
getProperty
-
getOrigin
从接口复制的说明:OriginLookupReturn the origin of the given key ornullif the origin cannot be determined.- 指定者:
getOrigin在接口中OriginLookup<String>- 参数:
key- the key to lookup- 返回:
- the origin of the key or
null
-
getPrefix
从接口复制的说明:OriginLookupReturn the implicit prefix that is applied when performing a lookup ornullif 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.
-
isImmutable
public boolean isImmutable()从接口复制的说明:OriginLookupReturntrueif this lookup is immutable and has contents that will never change.- 指定者:
isImmutable在接口中OriginLookup<String>- 返回:
- if the lookup is immutable
-