クラス MongoHealthContributorAutoConfiguration

java.lang.ObjectSE
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<MongoHealthIndicator, com.mongodb.client.MongoClient>
org.springframework.boot.mongodb.autoconfigure.health.MongoHealthContributorAutoConfiguration

@AutoConfiguration(after={MongoReactiveHealthContributorAutoConfiguration.class,MongoAutoConfiguration.class}) @ConditionalOnClass({com.mongodb.client.MongoClient.class,MongoHealthIndicator.class,ConditionalOnEnabledHealthIndicator.class}) @ConditionalOnBean(com.mongodb.client.MongoClient.class) @ConditionalOnEnabledHealthIndicator("mongodb") public final class MongoHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<MongoHealthIndicator, com.mongodb.client.MongoClient>
導入:
4.0.0
作成者:
Stephane Nicoll
  • 方法の詳細

    • createContributor

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

      protected final HealthContributor createContributor(MapSE<StringSE, com.mongodb.client.MongoClient> beans)
    • createIndicator

      protected MongoHealthIndicator createIndicator(com.mongodb.client.MongoClient bean)