|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.spockframework.runtime.extension.AbstractMethodInterceptor
org.spockframework.guice.GuiceInterceptor
public class GuiceInterceptor
Creates a Guice injector, and injects Guice-provided objects into specifications.
| Constructor Summary | |
|---|---|
GuiceInterceptor(SpecInfo spec,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> moduleClasses)
|
|
| Method Summary | |
|---|---|
void |
interceptInitializerMethod(IMethodInvocation invocation)
|
void |
interceptSharedInitializerMethod(IMethodInvocation invocation)
|
| Methods inherited from class org.spockframework.runtime.extension.AbstractMethodInterceptor |
|---|
intercept, interceptCleanupMethod, interceptCleanupSpecMethod, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptIterationExecution, interceptSetupMethod, interceptSetupSpecMethod, interceptSpecExecution |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GuiceInterceptor(SpecInfo spec,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> moduleClasses)
| Method Detail |
|---|
public void interceptSharedInitializerMethod(IMethodInvocation invocation)
throws java.lang.Throwable
interceptSharedInitializerMethod in class AbstractMethodInterceptorjava.lang.Throwable
public void interceptInitializerMethod(IMethodInvocation invocation)
throws java.lang.Throwable
interceptInitializerMethod in class AbstractMethodInterceptorjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||