("TargetSource cannot determine target class: " + "Either an interface or a target is required for proxy creation."); } // 2.如果目標類是接口或者是代理類,則直接使用JDKproxy if (targetClass.isInterface() || Proxy.isProxyClass(targetClass)) { return new JdkDynamicAopProxy(config); } // ...
m.jb51.net/program/293420u...htm 2023-7-27