类 OriginTrackedMapPropertySource
- 所有已实现的接口:
OriginLookup<String>
public final class OriginTrackedMapPropertySource extends org.springframework.core.env.MapPropertySource implements OriginLookup<String>
- 从以下版本开始:
- 2.0.0
- 另请参阅:
OriginTrackedValue
构造器概要
构造器 构造器 说明 OriginTrackedMapPropertySource(String name, Map source)
构造器详细资料
OriginTrackedMapPropertySource
public OriginTrackedMapPropertySource(String name, Map source)
方法详细资料
getProperty
public Object getProperty(String name)
- 覆盖:
getProperty
在类中org.springframework.core.env.MapPropertySource
getOrigin
public Origin getOrigin(String name)
从接口复制的说明:OriginLookup
Return the origin of the given key ornull
if the origin cannot be determined.- 指定者:
getOrigin
在接口中OriginLookup<String>
- 参数:
name
- the key to lookup- 返回:
- the origin of the key or
null