|
Griffon 0.9.5-rc2 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface ShutdownHandler
A ShutdownHandler may prevent the application from exiting.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
public boolean canShutdown(GriffonApplication application)
Return false if the shutdown sequence must be aborted.
application - the current running application
public void onShutdown(GriffonApplication application)
application - the current running application
Groovy Documentation