Annotation Interface EnableConfigurationProperties
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Import(org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.class)
public @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.- Since:
- 1.0.0
- Author:
- Dave Syer
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]Convenient way to quickly register@ConfigurationPropertiesannotated beans with Spring.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe bean name of the configuration properties validator.
- 
Field Details- 
VALIDATOR_BEAN_NAMEThe bean name of the configuration properties validator.- Since:
- 2.2.0
- See Also:
 
 
- 
- 
Element Details- 
valueClass<?>[] valueConvenient way to quickly register@ConfigurationPropertiesannotated beans with Spring. Standard Spring Beans will also be scanned regardless of this value.- Returns:
- @ConfigurationPropertiesannotated beans to register
 - Default:
- {}
 
 
-