org.spockframework.runtime.extension
Class AbstractMethodInterceptor

java.lang.Object
  extended by org.spockframework.runtime.extension.AbstractMethodInterceptor
All Implemented Interfaces:
IMethodInterceptor
Direct Known Subclasses:
GuiceInterceptor

public abstract class AbstractMethodInterceptor
extends java.lang.Object
implements IMethodInterceptor


Constructor Summary
AbstractMethodInterceptor()
           
 
Method Summary
 void intercept(IMethodInvocation invocation)
           
 void interceptCleanupMethod(IMethodInvocation invocation)
           
 void interceptCleanupSpecMethod(IMethodInvocation invocation)
           
 void interceptDataProcessorMethod(IMethodInvocation invocation)
           
 void interceptDataProviderMethod(IMethodInvocation invocation)
           
 void interceptFeatureExecution(IMethodInvocation invocation)
           
 void interceptFeatureMethod(IMethodInvocation invocation)
           
 void interceptInitializerMethod(IMethodInvocation invocation)
           
 void interceptIterationExecution(IMethodInvocation invocation)
           
 void interceptSetupMethod(IMethodInvocation invocation)
           
 void interceptSetupSpecMethod(IMethodInvocation invocation)
           
 void interceptSharedInitializerMethod(IMethodInvocation invocation)
           
 void interceptSpecExecution(IMethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMethodInterceptor

public AbstractMethodInterceptor()
Method Detail

intercept

public final void intercept(IMethodInvocation invocation)
                     throws java.lang.Throwable
Specified by:
intercept in interface IMethodInterceptor
Throws:
java.lang.Throwable

interceptInitializerMethod

public void interceptInitializerMethod(IMethodInvocation invocation)
                                throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptSharedInitializerMethod

public void interceptSharedInitializerMethod(IMethodInvocation invocation)
                                      throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptSetupMethod

public void interceptSetupMethod(IMethodInvocation invocation)
                          throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptCleanupMethod

public void interceptCleanupMethod(IMethodInvocation invocation)
                            throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptSetupSpecMethod

public void interceptSetupSpecMethod(IMethodInvocation invocation)
                              throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptCleanupSpecMethod

public void interceptCleanupSpecMethod(IMethodInvocation invocation)
                                throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptFeatureMethod

public void interceptFeatureMethod(IMethodInvocation invocation)
                            throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptDataProviderMethod

public void interceptDataProviderMethod(IMethodInvocation invocation)
                                 throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptDataProcessorMethod

public void interceptDataProcessorMethod(IMethodInvocation invocation)
                                  throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptIterationExecution

public void interceptIterationExecution(IMethodInvocation invocation)
                                 throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptSpecExecution

public void interceptSpecExecution(IMethodInvocation invocation)
                            throws java.lang.Throwable
Throws:
java.lang.Throwable

interceptFeatureExecution

public void interceptFeatureExecution(IMethodInvocation invocation)
                               throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2013. All rights reserved