org.spockframework.spring
Class SpringInterceptor

java.lang.Object
  extended by org.spockframework.runtime.extension.AbstractMethodInterceptor
      extended by org.spockframework.spring.SpringInterceptor
All Implemented Interfaces:
IMethodInterceptor

public class SpringInterceptor
extends AbstractMethodInterceptor


Constructor Summary
SpringInterceptor(SpringTestContextManager manager)
           
 
Method Summary
 void error(ErrorInfo error)
           
 void interceptCleanupMethod(IMethodInvocation invocation)
           
 void interceptCleanupSpecMethod(IMethodInvocation invocation)
           
 void interceptSetupMethod(IMethodInvocation invocation)
           
 void interceptSetupSpecMethod(IMethodInvocation invocation)
           
 
Methods inherited from class org.spockframework.runtime.extension.AbstractMethodInterceptor
intercept, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptSpecExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringInterceptor

public SpringInterceptor(SpringTestContextManager manager)
Method Detail

interceptSetupSpecMethod

public void interceptSetupSpecMethod(IMethodInvocation invocation)
                              throws Throwable
Overrides:
interceptSetupSpecMethod in class AbstractMethodInterceptor
Throws:
Throwable

interceptSetupMethod

public void interceptSetupMethod(IMethodInvocation invocation)
                          throws Throwable
Overrides:
interceptSetupMethod in class AbstractMethodInterceptor
Throws:
Throwable

interceptCleanupMethod

public void interceptCleanupMethod(IMethodInvocation invocation)
                            throws Throwable
Overrides:
interceptCleanupMethod in class AbstractMethodInterceptor
Throws:
Throwable

interceptCleanupSpecMethod

public void interceptCleanupSpecMethod(IMethodInvocation invocation)
                                throws Throwable
Overrides:
interceptCleanupSpecMethod in class AbstractMethodInterceptor
Throws:
Throwable

error

public void error(ErrorInfo error)


Copyright © 2010. All Rights Reserved.