クラス 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(FunctionSE<B, I> indicatorFactory) 指定されたindicatorFactoryを使用してHealthIndicatorインスタンスを作成するCompositeHealthContributorConfigurationを作成します。方法の概要
修飾子と型メソッド説明protected final HealthContributorcreateComposite(MapSE<StringSE, B> beans) protected final HealthContributorcreateContributor(MapSE<StringSE, B> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<B> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。protected IcreateIndicator(B bean)
コンストラクターの詳細
CompositeHealthContributorConfiguration
指定されたindicatorFactoryを使用してHealthIndicatorインスタンスを作成するCompositeHealthContributorConfigurationを作成します。- パラメーター:
indicatorFactory- ヘルスインジケーターインスタンスを作成する関数
方法の詳細
createComposite
createContributor
protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<B> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。- パラメーター:
beanFactory- Bean が回収される Bean ファクトリbeanType- 取得される Bean の種類- 戻り値:
- コントリビューター
createContributor
createIndicator