public class InterceptorInvocationHandler extends AbstractInvocationHandler
拦截器专用的代理调用处理器
它实现了父类中的 invoke 方法:
Email: fishinlove@163.com
created by 2019/04/14 15:37:14
invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]),
Interceptor invocation handler
It implements the super method called invoke:
,
invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]),
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[]),
AbstractInvocationHandler| 构造器和说明 |
|---|
InterceptorInvocationHandler(java.lang.Object target,
Interceptor[] interceptors)
使用目标代理对象和拦截器进行初始化
Use target object and interceptors to init
|
public InterceptorInvocationHandler(java.lang.Object target,
Interceptor[] interceptors)
使用目标代理对象和拦截器进行初始化
Use target object and interceptors to init
target - 目标代理对象
target object
interceptors - 拦截器
interceptors
Copyright © 2019. All Rights Reserved.