Class InterceptionInvoker<V>

java.lang.Object
io.smallrye.faulttolerance.internal.InterceptionInvoker<V>
All Implemented Interfaces:
io.smallrye.faulttolerance.core.invocation.Invoker<V>

public class InterceptionInvoker<V> extends Object implements io.smallrye.faulttolerance.core.invocation.Invoker<V>
  • Constructor Details

    • InterceptionInvoker

      public InterceptionInvoker(jakarta.interceptor.InvocationContext invocationContext)
  • Method Details

    • parametersCount

      public int parametersCount()
      Specified by:
      parametersCount in interface io.smallrye.faulttolerance.core.invocation.Invoker<V>
    • getArgument

      public <T> T getArgument(int index, Class<T> parameterType)
      Specified by:
      getArgument in interface io.smallrye.faulttolerance.core.invocation.Invoker<V>
    • replaceArgument

      public <T> T replaceArgument(int index, Class<T> parameterType, Function<T,T> transformation)
      Specified by:
      replaceArgument in interface io.smallrye.faulttolerance.core.invocation.Invoker<V>
    • proceed

      public V proceed() throws Exception
      Specified by:
      proceed in interface io.smallrye.faulttolerance.core.invocation.Invoker<V>
      Throws:
      Exception