public interface IDaemonLifecycleListener
| Modifier and Type | Method and Description |
|---|---|
void |
aborting()
will be called on imminent abortion
|
void |
doStart()
Will be called to allow for custom startup code
|
void |
doStop()
Will be called to allow for custom shutdown code
|
void |
exception(LifecyclePhase phase,
Throwable exception)
This method is called if an error occurs.
|
Map<String,String> |
loadProperties() |
void |
signalUSR2()
received custom signal SIGUSR2
|
void |
started()
will be called after successful startup
|
void |
stopped()
will be called after successful shutdown
|
void |
stopping()
will be called on imminent shutdown
|
void doStart()
throws Exception
Exception - if start failedvoid doStop()
throws Exception
Exception - if shutdown failedvoid started()
void stopped()
void stopping()
void aborting()
void signalUSR2()
void exception(LifecyclePhase phase, Throwable exception)
LifecyclePhase and the exceptionphase - the phase the error occured inexception - the occured exceptionCopyright © 2012-2013 Taimos GmbH. All Rights Reserved.