Package com.github.jpmsilva.jsystemd
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 TypeMethodDescriptionvoidstarted(org.springframework.boot.context.event.ApplicationReadyEvent event) Event listener for theApplicationReadyEventevent to report to systemd that the service is ready.
-
Method Details
-
started
@EventListener public void started(org.springframework.boot.context.event.ApplicationReadyEvent event) Event listener for theApplicationReadyEventevent to report to systemd that the service is ready.- Parameters:
event- theApplicationReadyEventreceived
-