注释类型 PropertySources
@Target(TYPE) @Retention(RUNTIME) @Documented public @interface PropertySources
Container annotation that aggregates severalPropertySource
annotations.Can be used natively, declaring several nested
PropertySource
annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, wherePropertySource
can simply be declared several times on the same type, implicitly generating this container annotation.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
- 另请参阅:
PropertySource
必需元素概要
所需元素 修饰符和类型 必需的元素 说明 PropertySource[]
value
元素详细资料
value
PropertySource[] value