@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 |
mongoReactiveHealthContributor(Map<String,org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates) |
createComposite
createContributor, createIndicator
public MongoReactiveHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"mongoReactiveHealthIndicator","mongoReactiveHealthContributor"}) public ReactiveHealthContributor mongoReactiveHealthContributor(Map<String,org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.