|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.codehaus.groovy.grails.commons.GrailsBootstrapClass org.codehaus.groovy.grails.commons.GrailsClass
public interface GrailsBootstrapClass extends GrailsClass
Loaded and executed on application load.
Method Summary | |
---|---|
void
|
callDestroy()
Calls the destroy closure if one exists. |
void
|
callInit(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 interface GrailsClass | |
---|---|
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, newInstance |
Method Detail |
---|
public void callDestroy()
public void callInit(ServletContext servletContext)
public groovy.lang.Closure getDestroyClosure()
public groovy.lang.Closure getInitClosure()
Groovy Documentation