@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.data.mongodb.core.ReactiveMongoTemplate.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=org.springframework.data.mongodb.core.ReactiveMongoTemplate.class) @ConditionalOnEnabledHealthIndicator(value="mongo") @AutoConfigureAfter(value=MongoReactiveDataAutoConfiguration.class) public class MongoReactiveHealthContributorAutoConfiguration extends CompositeReactiveHealthContributorConfiguration<MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
Constructor and Description |
---|
MongoReactiveHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthContributor |
mongoHealthContributor(Map<String,org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates) |
createComposite
createContributor, createIndicator
public MongoReactiveHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"mongoHealthIndicator","mongoHealthContributor"}) public ReactiveHealthContributor mongoHealthContributor(Map<String,org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.