@Configuration @ConditionalOnBean(value=org.springframework.data.mongodb.core.MongoTemplate.class) @ConditionalOnEnabledHealthIndicator(value="mongo") public static class HealthIndicatorAutoConfiguration.MongoHealthIndicatorConfiguration extends HealthIndicatorAutoConfiguration.CompositeHealthIndicatorConfiguration<MongoHealthIndicator,org.springframework.data.mongodb.core.MongoTemplate>
Constructor and Description |
---|
MongoHealthIndicatorConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
mongoHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="mongoHealthIndicator") public HealthIndicator mongoHealthIndicator()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.