@Configuration @EnableConfigurationProperties(value=HealthIndicatorProperties.class) public class HealthIndicatorAutoConfiguration extends Object
Constructor and Description |
---|
HealthIndicatorAutoConfiguration(HealthIndicatorProperties properties) |
Modifier and Type | Method and Description |
---|---|
ApplicationHealthIndicator |
applicationHealthIndicator() |
OrderedHealthAggregator |
healthAggregator() |
HealthIndicatorRegistry |
healthIndicatorRegistry(ApplicationContext applicationContext) |
public HealthIndicatorAutoConfiguration(HealthIndicatorProperties properties)
@Bean @ConditionalOnMissingBean(value={HealthIndicator.class,ReactiveHealthIndicator.class}) public ApplicationHealthIndicator applicationHealthIndicator()
@Bean @ConditionalOnMissingBean(value=HealthAggregator.class) public OrderedHealthAggregator healthAggregator()
@Bean @ConditionalOnMissingBean(value=HealthIndicatorRegistry.class) public HealthIndicatorRegistry healthIndicatorRegistry(ApplicationContext applicationContext)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.