...Proxy 来进行动态代理,如果不实作介面,则 Spring 会使用 CGLIB 为您的 Targets 产生一个子类别作 为代理类别(Proxy classes)。
基于12个网页-相关网页
The wizard generates the required proxy classes and sample application.
向导生成所需的代理类和样本应用程序。
Unfortunately, using dynamic proxy classes does have one major drawback: performance.
不幸的是,使用动态代理类确实有一个重要不足:性能。
Method invocations on dynamic proxy classes do not perform nearly as well a direct method call on objects.
对动态代理类的方法调用,不会像直接调用对象的方法那样好。
应用推荐