@Configuration @EnableConfigurationProperties(value=HealthIndicatorProperties.class) @Import(value={org.springframework.boot.actuate.autoconfigure.ElasticsearchHealthIndicatorConfiguration.ElasticsearchClientHealthIndicatorConfiguration.class,org.springframework.boot.actuate.autoconfigure.ElasticsearchHealthIndicatorConfiguration.ElasticsearchJestHealthIndicatorConfiguration.class}) public class HealthIndicatorAutoConfiguration extends Object
Constructor and Description |
---|
HealthIndicatorAutoConfiguration(HealthIndicatorProperties properties) |
Modifier and Type | Method and Description |
---|---|
ApplicationHealthIndicator |
applicationHealthIndicator() |
OrderedHealthAggregator |
healthAggregator() |
public HealthIndicatorAutoConfiguration(HealthIndicatorProperties properties)
@Bean @ConditionalOnMissingBean(value=HealthAggregator.class) public OrderedHealthAggregator healthAggregator()
@Bean @ConditionalOnMissingBean(value=HealthIndicator.class) public ApplicationHealthIndicator applicationHealthIndicator()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.