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() | 
| List<String> | getStartupGroups()Returns a list of MVCGroup names that should be auto started. | 
| void | init(GriffonApplication application) | 
| void | onShutdown(GriffonApplication application)Called when the shutdown sequence continues | 
@Nonnull public Logger getLog()
getLog in interface GriffonAddonpublic void init(@Nonnull GriffonApplication application)
init in interface GriffonAddon@Nonnull public Map<String,Map<String,Object>> getMvcGroups()
getMvcGroups in interface GriffonAddon@Nonnull public List<String> getStartupGroups()
GriffonAddongetStartupGroups in interface GriffonAddonpublic boolean canShutdown(@Nonnull GriffonApplication application)
ShutdownHandlerReturn false if the shutdown sequence must be aborted.
canShutdown in interface ShutdownHandlerapplication - the current running applicationpublic void onShutdown(@Nonnull GriffonApplication application)
ShutdownHandleronShutdown in interface ShutdownHandlerapplication - the current running application