public interface MethodInterceptor
Implementing classes are required to implement the
invoke(MethodInvocation) method to modify the original behavior.
|Modifier and Type||Method and Description|
Implement this method to perform extra treatments before and after the invocation.
Object invoke(MethodInvocation invocation) throws Throwable
invocation- 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.