クラス RabbitHealthContributorAutoConfiguration
java.lang.ObjectSE
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<RabbitHealthIndicator, RabbitTemplate>
org.springframework.boot.amqp.autoconfigure.health.RabbitHealthContributorAutoConfiguration
@AutoConfiguration(after=RabbitAutoConfiguration.class)
@ConditionalOnClass({RabbitHealthIndicator.class,RabbitTemplate.class,ConditionalOnEnabledHealthIndicator.class})
@ConditionalOnBean(RabbitTemplate.class)
@ConditionalOnEnabledHealthIndicator("rabbit")
public final class RabbitHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<RabbitHealthIndicator, RabbitTemplate>
- 導入:
- 4.0.0
- 作成者:
- Christian Dupuis
方法の概要
修飾子と型メソッド説明protected final HealthContributorcreateContributor(MapSE<StringSE, RabbitTemplate> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<RabbitTemplate> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。protected RabbitHealthIndicatorクラス CompositeHealthContributorConfiguration から継承されたメソッド
createComposite
方法の詳細
createContributor
protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, ClassSE<RabbitTemplate> beanType) 指定されたbeanFactoryから取得された指定されたbeanTypeの Bean から複合コントリビュータを作成します。- パラメーター:
beanFactory- Bean が回収される Bean ファクトリbeanType- 取得される Bean の種類- 戻り値:
- コントリビューター
createContributor
createIndicator