クラス 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
方法の概要
修飾子と型メソッド説明protected final HealthContributorcreateContributor(MapSE<StringSE, com.mongodb.client.MongoClient> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<com.mongodb.client.MongoClient> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。protected MongoHealthIndicatorcreateIndicator(com.mongodb.client.MongoClient bean) クラス CompositeHealthContributorConfiguration から継承されたメソッド
createComposite
方法の詳細
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