Class GuiceyConfigurationHookInterceptor

java.lang.Object
org.spockframework.runtime.extension.AbstractMethodInterceptor
ru.vyarus.dropwizard.guice.test.spock.ext.GuiceyConfigurationHookInterceptor
All Implemented Interfaces:
org.spockframework.runtime.extension.IMethodInterceptor

@Deprecated public class GuiceyConfigurationHookInterceptor extends org.spockframework.runtime.extension.AbstractMethodInterceptor
Deprecated.
additional hooks may be declared in static test fields
Apply hooks according to spock lifecycle.
Since:
12.04.2018
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuiceyConfigurationHookInterceptor(List<ru.vyarus.dropwizard.guice.hook.GuiceyConfigurationHook> hooks)
    Deprecated.
    Create hooks interceptor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation)
    Deprecated.
     
    void
    interceptSharedInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation)
    Deprecated.
     

    Methods inherited from class org.spockframework.runtime.extension.AbstractMethodInterceptor

    intercept, interceptCleanupMethod, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptInitializerMethod, interceptIterationExecution, interceptSetupMethod, interceptSetupSpecMethod, interceptSpecExecution

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GuiceyConfigurationHookInterceptor

      public GuiceyConfigurationHookInterceptor(List<ru.vyarus.dropwizard.guice.hook.GuiceyConfigurationHook> hooks)
      Deprecated.
      Create hooks interceptor.
      Parameters:
      hooks - hooks
  • Method Details

    • interceptSharedInitializerMethod

      public void interceptSharedInitializerMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws Throwable
      Deprecated.
      Overrides:
      interceptSharedInitializerMethod in class org.spockframework.runtime.extension.AbstractMethodInterceptor
      Throws:
      Throwable
    • interceptCleanupSpecMethod

      public void interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws Throwable
      Deprecated.
      Overrides:
      interceptCleanupSpecMethod in class org.spockframework.runtime.extension.AbstractMethodInterceptor
      Throws:
      Throwable