Class QtafStepTrackerInterceptor

java.lang.Object
de.qytera.qtaf.core.guice.method_interceptor.QtafStepTrackerInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class QtafStepTrackerInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
Method interceptor for methods that are annotated with the Step annotation
  • Constructor Details

    • QtafStepTrackerInterceptor

      public QtafStepTrackerInterceptor()
  • Method Details

    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
      This method works as a proxy for methods. Instead of executing the annotated method directly this method will be executed.
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Parameters:
      methodInvocation - Invoked method
      Returns:
      Method execution result
      Throws:
      Throwable - Error