In the example, I created the dynamic proxy class for a single interface: User.
在示例中,我只为一个接口建立了动态代理类,这个接口是:user。
I could just as easily specify multiple interfaces that the dynamic proxy class would implement at runtime.
我可以很容易地指定动态代理类在运行时要实现的多个接口。
When the application needs a business object instance, it will actually receive an instance of the dynamic proxy class.
当应用程序需要业务对象实例时,它实际会接收到一个动态代理类的实例。
应用推荐