新增自动代理策略、jdk动态代理策略

This commit is contained in:
aoshiguchen
2022-06-29 21:54:14 +08:00
parent afba595bd9
commit 3570839a1a
@@ -77,7 +77,7 @@ public class JdkDynamicProxyFactory implements ProxyFactory {
@Override
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
Long methodId = ProxyCache.setMethod(method);
Invocation inv = new Invocation(methodId,this, () -> {
Invocation inv = new Invocation(methodId, proxy, () -> {
if (null != target) {
try {
return method.invoke(target, args);