类 EnumerableCompositePropertySource
- java.lang.Object
- org.springframework.core.env.PropertySource<T>
- org.springframework.core.env.EnumerablePropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
- org.springframework.boot.env.EnumerableCompositePropertySource
public class EnumerableCompositePropertySource extends org.springframework.core.env.EnumerablePropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
An mutable, enumerable, composite property source. New sources are added last (and hence resolved with lowest priority).- 另请参阅:
PropertySource
,EnumerablePropertySource
构造器概要
构造器 构造器 说明 EnumerableCompositePropertySource(String sourceName)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
add(org.springframework.core.env.PropertySource<?> source)
Object
getProperty(String name)
String[]
getPropertyNames()
构造器详细资料
EnumerableCompositePropertySource
public EnumerableCompositePropertySource(String sourceName)
方法详细资料
getProperty
public Object getProperty(String name)
- 指定者:
getProperty
在类中org.springframework.core.env.PropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
getPropertyNames
public String[] getPropertyNames()
- 指定者:
getPropertyNames
在类中org.springframework.core.env.EnumerablePropertySource<Collection<org.springframework.core.env.PropertySource<?>>>
add
public void add(org.springframework.core.env.PropertySource<?> source)