public class AbstractGriffonAddon extends Object implements GriffonAddon
SUFFIX
Constructor and Description |
---|
AbstractGriffonAddon() |
Modifier and Type | Method and Description |
---|---|
boolean |
canShutdown(GriffonApplication application)
Asks this handler if the application's shutdown sequence can proceed or not.
|
Logger |
getLog() |
Map<String,Map<String,Object>> |
getMvcGroups() |
void |
init(GriffonApplication application) |
void |
onShutdown(GriffonApplication application)
Called when the shutdown sequence continues
|
@Nonnull public Logger getLog()
getLog
in interface GriffonAddon
public void init(@Nonnull GriffonApplication application)
init
in interface GriffonAddon
@Nonnull public Map<String,Map<String,Object>> getMvcGroups()
getMvcGroups
in interface GriffonAddon
public boolean canShutdown(@Nonnull GriffonApplication application)
ShutdownHandler
Return false if the shutdown sequence must be aborted.
canShutdown
in interface ShutdownHandler
application
- the current running applicationpublic void onShutdown(@Nonnull GriffonApplication application)
ShutdownHandler
onShutdown
in interface ShutdownHandler
application
- the current running application