Package com.github.jpmsilva.jsystemd
Class SystemdNotifyApplicationRunStatusProvider
java.lang.Object
com.github.jpmsilva.jsystemd.SystemdNotifyApplicationRunStatusProvider
- All Implemented Interfaces:
SystemdNotifyStatusProvider
@Order(-5000) public class SystemdNotifyApplicationRunStatusProvider extends Object implements SystemdNotifyStatusProvider
Implementation of
SystemdNotifyStatusProvider
that provides information regarding the Spring Boot application startup sequence state.- Author:
- Joao Silva
- See Also:
SystemdSpringApplicationRunListener
,SpringApplicationRunListener
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemdNotifyApplicationRunStatusProvider.ApplicationState
Enumeration of supported application startup sequence state. -
Method Summary
-
Method Details
-
status
Exposes status information to send to systemd.- Specified by:
status
in interfaceSystemdNotifyStatusProvider
- Returns:
- the string message to add to the service status
-