Package org.apache.tapestry5.spock
Class TapestryInterceptor
java.lang.Object
org.spockframework.runtime.extension.AbstractMethodInterceptor
org.apache.tapestry5.spock.TapestryInterceptor
- All Implemented Interfaces:
org.spockframework.runtime.extension.IMethodInterceptor
public class TapestryInterceptor
extends org.spockframework.runtime.extension.AbstractMethodInterceptor
Controls creation, startup and shutdown of the Tapestry container,
and injects specifications with Tapestry-provided objects.
-
Constructor Summary
ConstructorsConstructorDescriptionTapestryInterceptor
(org.spockframework.runtime.model.SpecInfo spec, Set<Class<?>> modules) -
Method Summary
Modifier and TypeMethodDescriptionvoid
interceptCleanupSpecMethod
(org.spockframework.runtime.extension.IMethodInvocation invocation) void
interceptInitializerMethod
(org.spockframework.runtime.extension.IMethodInvocation invocation) void
interceptSharedInitializerMethod
(org.spockframework.runtime.extension.IMethodInvocation invocation) Methods inherited from class org.spockframework.runtime.extension.AbstractMethodInterceptor
intercept, interceptCleanupMethod, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptIterationExecution, interceptSetupMethod, interceptSetupSpecMethod, interceptSpecExecution
-
Constructor Details
-
TapestryInterceptor
-
-
Method Details
-
interceptCleanupSpecMethod
public void interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws Throwable - Overrides:
interceptCleanupSpecMethod
in classorg.spockframework.runtime.extension.AbstractMethodInterceptor
- Throws:
Throwable
-
interceptInitializerMethod
public void interceptInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws Throwable - Overrides:
interceptInitializerMethod
in classorg.spockframework.runtime.extension.AbstractMethodInterceptor
- Throws:
Throwable