Class NormalMethodInvoker<V>
- java.lang.Object
-
- io.smallrye.faulttolerance.core.invocation.NormalMethodInvoker<V>
-
-
Constructor Summary
Constructors Constructor Description NormalMethodInvoker(Method method, Object target, Object[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetArgument(int index, Class<T> parameterType)intparametersCount()Vproceed()<T> TreplaceArgument(int index, Class<T> parameterType, Function<T,T> transformation)
-
-
-
Method Detail
-
parametersCount
public int parametersCount()
- Specified by:
parametersCountin interfaceInvoker<V>
-
getArgument
public <T> T getArgument(int index, Class<T> parameterType)- Specified by:
getArgumentin interfaceInvoker<V>
-
replaceArgument
public <T> T replaceArgument(int index, Class<T> parameterType, Function<T,T> transformation)- Specified by:
replaceArgumentin interfaceInvoker<V>
-
proceed
public V proceed() throws InvocationTargetException, IllegalAccessException
- Specified by:
proceedin interfaceInvoker<V>- Throws:
InvocationTargetExceptionIllegalAccessException
-
-