org.codehaus.groovy.grails.test.support
Class GrailsTestInterceptor

java.lang.Object
  extended by org.codehaus.groovy.grails.test.support.GrailsTestInterceptor
All Implemented Interfaces:
groovy.lang.GroovyObject

public class GrailsTestInterceptor
extends Object
implements groovy.lang.GroovyObject


Constructor Summary
GrailsTestInterceptor(Object test, GrailsTestMode mode, ApplicationContext appCtx, String[] testClassSuffixes)
           
 
Method Summary
protected  groovy.lang.MetaClass $getStaticMetaClass()
           
protected  Object autowireIfNecessary()
           
protected  Object createAutowirer()
           
protected  Object createRequestEnvironmentInterceptor()
           
protected  Object createTransactionInterceptor()
           
 void destroy()
           
protected  Object destroyRequestEnvironmentIfNecessary()
           
protected  Object destroyTransactionIfNecessary()
           
protected  Object getControllerName()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 void init()
           
protected  Object initRequestEnvironmentIfNecessary(groovy.lang.Closure body)
           
protected  Object initTransactionIfNecessary()
           
 Object invokeMethod(String method, Object arguments)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void wrap(groovy.lang.Closure body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrailsTestInterceptor

public GrailsTestInterceptor(Object test,
                             GrailsTestMode mode,
                             ApplicationContext appCtx,
                             String[] testClassSuffixes)
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

init

public void init()

destroy

public void destroy()

wrap

public void wrap(groovy.lang.Closure body)

autowireIfNecessary

protected Object autowireIfNecessary()

initTransactionIfNecessary

protected Object initTransactionIfNecessary()

destroyTransactionIfNecessary

protected Object destroyTransactionIfNecessary()

getControllerName

protected Object getControllerName()

initRequestEnvironmentIfNecessary

protected Object initRequestEnvironmentIfNecessary(groovy.lang.Closure body)

destroyRequestEnvironmentIfNecessary

protected Object destroyRequestEnvironmentIfNecessary()

createAutowirer

protected Object createAutowirer()

createTransactionInterceptor

protected Object createTransactionInterceptor()

createRequestEnvironmentInterceptor

protected Object createRequestEnvironmentInterceptor()

$getStaticMetaClass

protected groovy.lang.MetaClass $getStaticMetaClass()