@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Import(ConfigPropertySourcePostProcessor.class)
@API(status=STABLE,
since="1.0")
public @interface ConfigPropertySources
Container annotation that aggregates several
ConfigPropertySource
annotations.
Can be used natively, declaring several nested ConfigPropertySource
annotations.
Can also be used in conjunction with Java 8's support for repeatable
annotations, where ConfigPropertySource can simply be declared
several times on the same type, implicitly
generating this container annotation.
- Since:
- 1.0
- Version:
- 1.0, 2025-08
- Author:
- (w) Iker Hernaez
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
ConfigPropertySource[] valueThe aggregatedConfigPropertySourceannotations.- Returns:
- The aggregated
ConfigPropertySourceannotations.
-