public class DefaultGrailsBootstrapClass extends org.codehaus.groovy.grails.commons.AbstractGrailsClass implements GrailsBootstrapClass
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOOT_STRAP |
| Constructor and Description |
|---|
DefaultGrailsBootstrapClass(java.lang.Class<?> clazz) |
| Modifier and Type | Method 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.
|
getClazz, getFullName, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReference, getReferenceInstance, getShortName, getStaticPropertyValue, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isAbstract, isActionMethod, isReadableProperty, newInstance, setGrailsApplication, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClazz, getFullName, getGrailsApplication, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstancepublic static final java.lang.String BOOT_STRAP
public DefaultGrailsBootstrapClass(java.lang.Class<?> clazz)
public groovy.lang.Closure<?> getInitClosure()
GrailsBootstrapClassgetInitClosure in interface GrailsBootstrapClasspublic groovy.lang.Closure<?> getDestroyClosure()
GrailsBootstrapClassgetDestroyClosure in interface GrailsBootstrapClasspublic void callInit(javax.servlet.ServletContext servletContext)
GrailsBootstrapClasscallInit in interface GrailsBootstrapClasspublic void callDestroy()
GrailsBootstrapClasscallDestroy in interface GrailsBootstrapClass