public class TraceContextInterceptor extends Object implements StaticMethodsAroundInterceptor
| 构造器和说明 |
|---|
TraceContextInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
afterMethod(Class clazz,
Method method,
Object[] allArguments,
Class<?>[] parameterTypes,
Object ret) |
void |
beforeMethod(Class clazz,
Method method,
Object[] allArguments,
Class<?>[] parameterTypes,
MethodInterceptResult result) |
void |
handleMethodException(Class clazz,
Method method,
Object[] allArguments,
Class<?>[] parameterTypes,
Throwable t) |
public void beforeMethod(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes, MethodInterceptResult result)
beforeMethod 在接口中 StaticMethodsAroundInterceptorpublic Object afterMethod(Class clazz, Method method, Object[] allArguments, Class<?>[] parameterTypes, Object ret)
afterMethod 在接口中 StaticMethodsAroundInterceptorCopyright © 2018 The Apache Software Foundation. All rights reserved.