Class CouchbaseReactiveHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration<CouchbaseReactiveHealthIndicator, Cluster>
org.springframework.boot.couchbase.autoconfigure.health.CouchbaseReactiveHealthContributorAutoConfiguration
@AutoConfiguration(after=CouchbaseAutoConfiguration.class)
@ConditionalOnClass({Cluster.class,reactor.core.publisher.Flux.class,CouchbaseReactiveHealthIndicator.class,ConditionalOnEnabledHealthIndicator.class})
@ConditionalOnBean(Cluster.class)
@ConditionalOnEnabledHealthIndicator("couchbase")
public final class CouchbaseReactiveHealthContributorAutoConfiguration
extends CompositeReactiveHealthContributorConfiguration<CouchbaseReactiveHealthIndicator, Cluster>
- Since:
- 4.0.0
- Author:
- Mikalai Lushchytski, Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionprotected final ReactiveHealthContributorcreateContributor(Map<String, Cluster> beans) protected final ReactiveHealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, Class<Cluster> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.protected CouchbaseReactiveHealthIndicatorcreateIndicator(Cluster bean) Methods inherited from class CompositeReactiveHealthContributorConfiguration
createComposite
-
Method Details
-
createContributor
protected final ReactiveHealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, Class<Cluster> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.- Parameters:
beanFactory- the bean factory from which the beans are retrievedbeanType- the type of the beans that are retrieved- Returns:
- the contributor
-
createContributor
-
createIndicator
-