public interface StaticMethodsAroundInterceptor
| Modifier and Type | Method and Description |
|---|---|
Object |
afterMethod(Class clazz,
Method method,
Object[] allArguments,
Class<?>[] parameterTypes,
Object ret)
called after target method invocation.
|
void |
beforeMethod(Class clazz,
Method method,
Object[] allArguments,
Class<?>[] parameterTypes,
MethodInterceptResult result)
called before target method invocation.
|
void |
handleMethodException(Class clazz,
Method method,
Object[] allArguments,
Class<?>[] parameterTypes,
Throwable t)
called when occur exception.
|
void beforeMethod(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes, MethodInterceptResult result)
method - result - change this result, if you want to truncate the method.Object afterMethod(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes, Object ret)
method - ret - the method's original return value.Copyright © 2019 The Apache Software Foundation. All rights reserved.