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 class
Autoconfiguration class for systemd integration when using Spring Boot Actuator.static class
Autoconfiguration class for systemd integration when running under Tomcat. -
Method Summary
Modifier and TypeMethodDescriptionvoid
started
(org.springframework.boot.context.event.ApplicationReadyEvent event) Event listener for theApplicationReadyEvent
event 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 theApplicationReadyEvent
event to report to systemd that the service is ready.- Parameters:
event
- theApplicationReadyEvent
received
-