@Configuration
@ConditionalOnClass(value=org.springframework.boot.actuate.metrics.CounterService.class)
@ConditionalOnProperty(prefix="spring.statemachine.monitor",
name="enabled",
havingValue="true",
matchIfMissing=true)
public static class StateMachineAutoConfiguration.StateMachineMonitoringConfiguration
extends java.lang.Object
Constructor and Description |
---|
StateMachineMonitoringConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.actuate.metrics.CounterService> counterServiceProvider,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.actuate.metrics.GaugeService> gaugeServiceProvider,
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.actuate.trace.TraceRepository> traceRepositoryProvider) |
Modifier and Type | Method and Description |
---|---|
BootStateMachineMonitor<?,?> |
bootStateMachineMonitor() |
public StateMachineMonitoringConfiguration(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.actuate.metrics.CounterService> counterServiceProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.actuate.metrics.GaugeService> gaugeServiceProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.actuate.trace.TraceRepository> traceRepositoryProvider)
@Bean public BootStateMachineMonitor<?,?> bootStateMachineMonitor()