public final class InterfaceProxy extends Object implements InvocationHandler
| 限定符和类型 | 类和说明 |
|---|---|
static class |
InterfaceProxy.InterfaceProxyInvokeParam |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
getProxy(Class<T> cls,
Function<InterfaceProxy.InterfaceProxyInvokeParam,?> executor) |
static <T> T |
getProxy(Class<T> cls,
Function<InterfaceProxy.InterfaceProxyInvokeParam,?> executor,
boolean save) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public Object invoke(Object proxy, Method method, Object[] args)
invoke 在接口中 InvocationHandlerpublic static <T> T getProxy(Class<T> cls, Function<InterfaceProxy.InterfaceProxyInvokeParam,?> executor, boolean save)
public static <T> T getProxy(Class<T> cls, Function<InterfaceProxy.InterfaceProxyInvokeParam,?> executor)
Copyright © 2022. All rights reserved.