Loaded and executed on application load.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
callDestroy() Calls the destroy closure if one exists. |
|
void |
callInit(javax.servlet.ServletContext servletContext) Calls the init closure if one exists. |
|
groovy.lang.Closure |
getDestroyClosure() Returns the destroy closure which is called on application exit. |
|
groovy.lang.Closure |
getInitClosure() Returns the init closure which is called on application load. |
Methods inherited from class | Name |
---|---|
interface GrailsClass |
getClazz, getFullName, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
interface GrailsApplicationAware |
setGrailsApplication |
Calls the destroy closure if one exists.
Calls the init closure if one exists.
Returns the destroy closure which is called on application exit.
Returns the init closure which is called on application load.