类 SystemEnvironmentPropertySourceEnvironmentPostProcessor.OriginAwareSystemEnvironmentPropertySource
- java.lang.Object
- org.springframework.core.env.PropertySource<T>
- 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 org.springframework.core.env.SystemEnvironmentPropertySource implements OriginLookup<String>
SystemEnvironmentPropertySource
that also tracksOrigin
.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Origin
getOrigin(String key)
Return the origin of the given key ornull
if the origin cannot be determined.从类继承的方法 org.springframework.core.env.SystemEnvironmentPropertySource
containsProperty, getProperty, isSecurityManagerPresent, resolvePropertyName
方法详细资料
getOrigin
public Origin getOrigin(String key)
从接口复制的说明: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