アノテーションインターフェース EnableConfigurationProperties


@TargetSE(TYPESE) @RetentionSE(RUNTIMESE) @DocumentedSE @Import(org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.class) public @interface EnableConfigurationProperties
@ConfigurationProperties アノテーション付き Bean のサポートを有効にします。@ConfigurationProperties Bean は、標準的な方法で(たとえば、@Bean メソッドを使用して)登録するか、便宜上、このアノテーションで直接指定できます。
導入:
1.0.0
作成者:
Dave Syer
  • オプション要素のサマリー

    オプション要素
    修飾子と型
    オプションの要素
    説明
    ClassSE<?>[]
    @ConfigurationProperties アノテーション付き Bean を Spring に迅速に登録する便利な方法。
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    static final StringSE
    構成プロパティ検証の Bean 名。
  • フィールドの詳細

  • 要素の詳細

    • value

      ClassSE<?>[] value
      @ConfigurationProperties アノテーション付き Bean を Spring に迅速に登録する便利な方法。この値に関係なく、標準 Spring Bean もスキャンされます。
      戻り値:
      登録する @ConfigurationProperties アノテーション付き Bean
      デフォルト:
      {}