public interface GrailsBootstrapClass extends GrailsClass
Modifier and Type | Method and Description |
---|---|
void |
callDestroy()
Calls the destroy closure if one exists.
|
void |
callInit(ServletContext servletContext)
Calls the init closure if one exists.
|
Closure |
getDestroyClosure()
Returns the destroy closure which is called on application exit.
|
Closure |
getInitClosure()
Returns the init closure which is called on application load.
|
getClazz, getFullName, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
setGrailsApplication
void callInit(ServletContext servletContext)
void callDestroy()
Closure getInitClosure()
Closure getDestroyClosure()