@Singleton public class FunctionClientAdvice extends java.lang.Object implements MethodInterceptor<java.lang.Object,java.lang.Object>
FunctionClient annotation.HOTSWAP, LAZY, PROXY_TARGETHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
FunctionClientAdvice(FunctionDiscoveryClient discoveryClient,
FunctionInvokerChooser functionInvokerChooser)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
intercept(MethodInvocationContext<java.lang.Object,java.lang.Object> context)
Extended version of the
MethodInterceptor.intercept(InvocationContext) method that accepts a MethodInvocationContext. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptpublic FunctionClientAdvice(FunctionDiscoveryClient discoveryClient, FunctionInvokerChooser functionInvokerChooser)
discoveryClient - discoveryClientfunctionInvokerChooser - functionInvokerChooserpublic java.lang.Object intercept(MethodInvocationContext<java.lang.Object,java.lang.Object> context)
MethodInterceptorMethodInterceptor.intercept(InvocationContext) method that accepts a MethodInvocationContext.intercept in interface MethodInterceptor<java.lang.Object,java.lang.Object>context - The context