@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) class PropertySources
Container annotation that aggregates several PropertySource annotations.
Can be used natively, declaring several nested PropertySource annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where PropertySource can simply be declared several times on the same type, implicitly generating this container annotation.
Author
Phillip Webb
Since
4.0
See Also
PropertySource
PropertySources(vararg value: PropertySource)
Container annotation that aggregates several PropertySource annotations. Can be used natively, declaring several nested PropertySource annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where PropertySource can simply be declared several times on the same type, implicitly generating this container annotation. |
val value: Array<PropertySource> |