在代理中对方法的调用委托到下面相应的对象中。
The method invocations on the proxy are delegated to the underlying objects.
它首先验证方法调用的方法参数,然后把方法调用委托给实现类。
It will first validate method parameters upon a method invocation and then delegate the method call to the implementation class.
例如,代理类可以把方法调用委托其他任何对象,甚至是处理程序本身。
For example, the proxy class could delegate the method invocation to any other object or even handle it itself.
应用推荐