@Configuration @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") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=MongoReactiveDataAutoConfiguration.class) public class MongoReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
Constructor and Description |
---|
MongoReactiveHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
mongoHealthIndicator(Map<String,org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates) |
createHealthIndicator, createHealthIndicator
public MongoReactiveHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="mongoHealthIndicator") public ReactiveHealthIndicator mongoHealthIndicator(Map<String,org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.