public interface ShutdownHandler
Modifier and Type | Method and Description |
---|---|
boolean |
canShutdown(GriffonApplication application)
Asks this handler if the application's shutdown sequence can proceed or not.
|
void |
onShutdown(GriffonApplication application)
Called when the shutdown sequence continues
|
boolean canShutdown(@Nonnull GriffonApplication application)
Return false if the shutdown sequence must be aborted.
application
- the current running applicationvoid onShutdown(@Nonnull GriffonApplication application)
application
- the current running application