org.spockframework.runtime.extension.builtin
Class AutoCleanupInterceptor

java.lang.Object
  extended by org.spockframework.runtime.extension.builtin.AutoCleanupInterceptor
All Implemented Interfaces:
IMethodInterceptor

public class AutoCleanupInterceptor
extends java.lang.Object
implements IMethodInterceptor

Author:
Peter Niederwieser

Constructor Summary
AutoCleanupInterceptor()
           
 
Method Summary
 void add(FieldInfo field)
           
 void install(MethodInfo method)
           
 void intercept(IMethodInvocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoCleanupInterceptor

public AutoCleanupInterceptor()
Method Detail

add

public void add(FieldInfo field)

install

public void install(MethodInfo method)

intercept

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


Copyright © 2013. All rights reserved