@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Import(value=org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.class)
public @interface EnableConfigurationProperties
@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.| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
VALIDATOR_BEAN_NAME
The bean name of the configuration properties validator.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?>[] |
value
Convenient way to quickly register
@ConfigurationProperties annotated beans with
Spring. |
public static final java.lang.String VALIDATOR_BEAN_NAME
public abstract java.lang.Class<?>[] value
@ConfigurationProperties annotated beans with
Spring. Standard Spring Beans will also be scanned regardless of this value.@ConfigurationProperties annotated beans to register