public class ChainedInvokerInterceptor extends Object implements InvokerInterceptor
InvokerInterceptor for multiple intercepter to apply.NULL| 构造器和说明 |
|---|
ChainedInvokerInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterProcess()
to call after process called. here need to clear some garbage here
|
void |
beforeInvoke(MethodInvocationInfo methodInvocationInfo)
This method will call before RPC method invoke.
|
Object |
process(MethodInvocationInfo methodInvocationInfo)
to do intercept action.
|
void |
setInterceptors(List<InvokerInterceptor> interceptors)
Sets the interceptors.
|
public void setInterceptors(List<InvokerInterceptor> interceptors)
interceptors - the new interceptorspublic void beforeInvoke(MethodInvocationInfo methodInvocationInfo)
InvokerInterceptorbeforeInvoke 在接口中 InvokerInterceptormethodInvocationInfo - the method invocationpublic Object process(MethodInvocationInfo methodInvocationInfo)
InvokerInterceptorprocess 在接口中 InvokerInterceptormethodInvocationInfo - the method invocationNULL to stop next chain invocation.public void afterProcess()
InvokerInterceptorafterProcess 在接口中 InvokerInterceptorCopyright © 2022 Baidu, Inc.. All rights reserved.