public class SystemdApplicationContextInitializer extends Object implements org.springframework.context.ApplicationContextInitializer
Systemd instance and registering it in the application context under the name
systemd. Additionally it also creates an instance of SystemdNotifyApplicationContextStatusProvider and registers it in the application
context under the name systemdNotifyApplicationContextStatusProvider.| Constructor and Description |
|---|
SystemdApplicationContextInitializer()
Creates a new instance, setting up Systemd integration.
|
| Modifier and Type | Method and Description |
|---|---|
Systemd |
getSystemd()
Allows programmatic retrieval of the current
Systemd integration. |
void |
initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
Registers a
Systemd and a SystemdNotifyApplicationContextStatusProvider in the application context. |
public SystemdApplicationContextInitializer()
public void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
Systemd and a SystemdNotifyApplicationContextStatusProvider in the application context.initialize in interface org.springframework.context.ApplicationContextInitializerCopyright © 2017–2018. All rights reserved.