@Singleton public class FunctionClientAdvice extends Object implements MethodInterceptor<Object,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 |
|---|---|
Object |
intercept(MethodInvocationContext<Object,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 Object intercept(MethodInvocationContext<Object,Object> context)
MethodInterceptorMethodInterceptor.intercept(InvocationContext) method that accepts a MethodInvocationContext.intercept in interface MethodInterceptor<Object,Object>context - The context