public interface LifecycleListener
Modifier and Type | Method and Description |
---|---|
void |
onExit(LifeEventHandler handler)
Called when the application ends
|
void |
onStart(LifeEventHandler handler)
Called when the application starts.
|
void onStart(LifeEventHandler handler) throws LifecycleException
LifecycleException
- Whenever this listener is unable to start succesfully.void onExit(LifeEventHandler handler) throws LifecycleException
LifecycleException
- If a problem prevents this listener from shutting down.