@TargetSE(valueSE=TYPESE) @RetentionSE(valueSE=RUNTIMESE) @DocumentedSE @Import(value=org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.class) public @interface EnableConfigurationProperties
@ConfigurationProperties
アノテーション付き Bean のサポートを有効にします。@ConfigurationProperties
Bean は、標準的な方法で(たとえば、@Bean
メソッドを使用して)登録するか、便宜上、このアノテーションで直接指定できます。修飾子と型 | フィールドと説明 |
---|---|
static StringSE | VALIDATOR_BEAN_NAME 構成プロパティ検証の Bean 名。 |
修飾子と型 | オプションの要素と説明 |
---|---|
ClassSE<?>[] | value @ConfigurationProperties アノテーション付き Bean を Spring に迅速に登録する便利な方法。 |
public static final StringSE VALIDATOR_BEAN_NAME
public abstract ClassSE<?>[] value
@ConfigurationProperties
アノテーション付き Bean を Spring に迅速に登録する便利な方法。この値に関係なく、標準 Spring Bean もスキャンされます。@ConfigurationProperties
アノテーション付き BeanCopyright © 2020 Pivotal Software, Inc.. All rights reserved.