Class SystemdAutoConfiguration
java.lang.Object
com.github.jpmsilva.jsystemd.SystemdAutoConfiguration
Autoconfiguration class for systemd integration.
Sets up some basic SystemdStatusProvider as well.
- Author:
- Joao Silva, Christian Lorenz
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAutoconfiguration class for systemd integration when using Spring Boot Actuator.static classAutoconfiguration class for systemd integration when running under Tomcat. -
Method Summary
Modifier and TypeMethodDescriptionvoidEvent listener for theAvailabilityChangeEventevent to report to systemd that the service is ready.
-
Method Details
-
started
Event listener for theAvailabilityChangeEventevent to report to systemd that the service is ready.The application is considered ready when the event is a
ReadinessStatewith the stateReadinessState.ACCEPTING_TRAFFIC.- Parameters:
event- theAvailabilityChangeEventreceived
-