Annotation Interface EnableConfigurationProperties
Enable support for
@ConfigurationProperties annotated
beans. @ConfigurationProperties beans can be registered in the standard way
(for example using @Bean methods) or, for convenience, can be specified
directly on this annotation.- 从以下版本开始:
- 4.0
- 作者:
- Dave Syer, Harry Yang
-
可选元素概要
可选元素修饰符和类型可选元素说明Class<?>[]Convenient way to quickly register@ConfigurationPropertiesannotated beans with Framework. -
字段概要
字段
-
字段详细资料
-
VALIDATOR_BEAN_NAME
The bean name of the configuration properties validator.- 另请参阅:
-
-
元素详细资料
-
value
Class<?>[] valueConvenient way to quickly register@ConfigurationPropertiesannotated beans with Framework. Standard Framework Beans will also be scanned regardless of this value.- 返回:
@ConfigurationPropertiesannotated beans to register
- 默认值:
- {}
-