public interface GrailsBootstrapClass extends GrailsClass
Loaded and executed on application load.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
callDestroy() Calls the destroy closure if one exists. |
|
public void |
callInit(javax.servlet.ServletContext servletContext) Calls the init closure if one exists. |
|
public groovy.lang.Closure |
getDestroyClosure() Returns the destroy closure which is called on application exit. |
|
public groovy.lang.Closure |
getInitClosure() Returns the init closure which is called on application load. |
Methods inherited from class | Name |
---|---|
interface GrailsClass |
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, 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.