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