public class DefaultMethodInvokingInterceptor extends Object implements MethodInterceptor
MethodInvocation to implement InvocationTargetProvider to
determine the target object.MethodInvocation,
InvocationTargetProvider| Constructor and Description |
|---|
DefaultMethodInvokingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(MethodInvocation invocation)
Implement this method to perform extra treatments before and after the invocation.
|
public Object invoke(MethodInvocation invocation) throws Throwable
MethodInterceptorMethodInvocation.proceed().invoke in interface MethodInterceptorinvocation - the method invocation.MethodInvocation.proceed(), might be intercepted by the interceptor.Throwable - if the interceptors or the target-object throws an exception.Copyright © 2020 lettuce.io. All rights reserved.