| 程序包 | 说明 |
|---|---|
| network.nerve.core.core.config.persist | |
| network.nerve.core.core.inteceptor.base |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
PersistConfigInterceptor.intercept(Configuration annotation,
Object object,
Method method,
Object[] params,
BeanMethodInterceptorChain interceptorChain) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MultipleBeanMethodInterceptorChain
多重拦截器链:只当一个方法存在多条连接器链时使用,该链每次执行一个方法前初始化、组装
Multiple interceptors chain.Only when one method has multiple connector chains,
The chain is initialized and assembled every time a method is executed.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
BeanMethodInterceptor.intercept(T annotation,
Object object,
Method method,
Object[] params,
BeanMethodInterceptorChain interceptorChain)
拦截器拦截某个方法时,使用该方法,在方法中通过逻辑决定是否继续调用拦截的方法,可以在调用之前和之后做一些业务上的操作
When an interceptor intercepts a method, the method is used to logically determine whether the intercepting method is called in the method,
and it can do some business operations before and after the call.
|
| 构造器和说明 |
|---|
MultipleBeanMethodInterceptorChain(List<Annotation> annotations,
List<BeanMethodInterceptorChain> chainList)
初始化多重拦截器链
Initialize multiple interceptor chains.
|
Copyright © 2021. All rights reserved.