|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAwareorg.codehaus.groovy.grails.commons.GrailsClass
org.codehaus.groovy.grails.commons.GrailsBootstrapClass
public interface GrailsBootstrapClass extends GrailsClass
Loaded and executed on application load.
| Method Summary | |
|---|---|
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 interface GrailsClass | |
|---|---|
| getClazz, getFullName, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
| Methods inherited from interface GrailsApplicationAware | |
|---|---|
| setGrailsApplication |
| Method Detail |
|---|
public void callDestroy()
public void callInit(javax.servlet.ServletContext servletContext)
@java.lang.SuppressWarnings("rawtypes")
public groovy.lang.Closure getDestroyClosure()
@java.lang.SuppressWarnings("rawtypes")
public groovy.lang.Closure getInitClosure()
Groovy Documentation