类 CompositePropertySource


public class CompositePropertySource extends EnumerablePropertySource<Object>
Composite PropertySource implementation that iterates over a set of PropertySource instances. Necessary in cases where multiple property sources share the same name, e.g. when multiple values are supplied to @PropertySource.

instead of plain PropertySource, exposing getPropertyNames() based on the accumulated property names from all contained sources (as far as possible).

从以下版本开始:
4.0
作者:
Chris Beams, Juergen Hoeller, Phillip Webb, Harry Yang