Package org.springframework.cloud.health
Class RefreshScopeHealthIndicator
- java.lang.Object
-
- org.springframework.boot.actuate.health.AbstractHealthIndicator
-
- org.springframework.cloud.health.RefreshScopeHealthIndicator
-
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class RefreshScopeHealthIndicator extends org.springframework.boot.actuate.health.AbstractHealthIndicatorHealth indicator for the refresh scope and configuration properties rebinding. If an environment change causes a bean to fail in instantiate or bind, this indicator will generally say what the problem was and switch to DOWN.- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description RefreshScopeHealthIndicator(org.springframework.beans.factory.ObjectProvider<RefreshScope> scope, ConfigurationPropertiesRebinder rebinder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
-
-
-
Constructor Detail
-
RefreshScopeHealthIndicator
public RefreshScopeHealthIndicator(org.springframework.beans.factory.ObjectProvider<RefreshScope> scope, ConfigurationPropertiesRebinder rebinder)
-
-