クラス CompositeHealthContributorConfiguration<I extends HealthIndicator, B>

java.lang.ObjectSE
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<I,B>
型パラメーター:
I - ヘルスインジケータの型
B - Bean 型
既知の直属サブクラス
CouchbaseHealthContributorAutoConfiguration, DataRedisHealthContributorAutoConfiguration, ElasticsearchRestHealthContributorAutoConfiguration, HazelcastHealthContributorAutoConfiguration, JmsHealthContributorAutoConfiguration, LdapHealthContributorAutoConfiguration, MailHealthContributorAutoConfiguration, MongoHealthContributorAutoConfiguration, RabbitHealthContributorAutoConfiguration

public abstract class CompositeHealthContributorConfiguration<I extends HealthIndicator, B> extends ObjectSE
ソース Bean を複合に結合できるヘルスコントリビューター構成の基本クラス。
導入:
4.0.0
作成者:
Stephane Nicoll, Phillip Webb
  • コンストラクターの詳細

    • CompositeHealthContributorConfiguration

      public CompositeHealthContributorConfiguration(FunctionSE<B,I> indicatorFactory)
      指定された indicatorFactory を使用して HealthIndicator インスタンスを作成する CompositeHealthContributorConfiguration を作成します。
      パラメーター:
      indicatorFactory - ヘルスインジケーターインスタンスを作成する関数
  • 方法の詳細

    • createComposite

      protected final HealthContributor createComposite(MapSE<StringSE,B> beans)
    • createContributor

      protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<B> beanType)
      指定された beanFactory から取得された指定された beanType の Bean から複合コントリビュータを作成します。
      パラメーター:
      beanFactory - Bean が回収される Bean ファクトリ
      beanType - 取得される Bean の種類
      戻り値:
      コントリビューター
    • createContributor

      protected final HealthContributor createContributor(MapSE<StringSE,B> beans)
    • createIndicator

      protected I createIndicator(B bean)