接口的使用
cn.taketoday.bytecode.proxy.InvocationHandler
使用InvocationHandler的程序包
-
cn.taketoday.bytecode.proxy中InvocationHandler的使用
修饰符和类型方法说明static ObjectProxy.newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler handler) Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.参数类型为InvocationHandler的cn.taketoday.bytecode.proxy中的构造器