注释类型 ProfileValueSourceConfiguration
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface ProfileValueSourceConfiguration
ProfileValueSourceConfiguration
is a class-level annotation which is used to specify what type ofProfileValueSource
to use when retrieving profile values configured via the@IfProfileValue
annotation.As of Spring Framework 4.0, this annotation may be used as a meta-annotation to create custom composed annotations.
- 从以下版本开始:
- 2.5
- 作者:
- Sam Brannen
- 另请参阅:
ProfileValueSource
,IfProfileValue
,ProfileValueUtils
可选元素概要
可选元素 修饰符和类型 可选元素 说明 Class<? extends ProfileValueSource>
value
The type ofProfileValueSource
to use when retrieving profile values.
元素详细资料
value
Class<? extends ProfileValueSource> value
The type ofProfileValueSource
to use when retrieving profile values.- 默认值:
- org.springframework.test.annotation.SystemProfileValueSource.class