统一的由处理器(InvocationHandler)的invoke方法处理,在这个方法中传入的是代理对象的什么方法,就在这个方法中委派真实对象执行这个方法还需要注意的是Proxy这个类的...
基于16个网页-相关网页
protected InvocationHandler h 关联的调用处理器引用
The InvocationHandler interface, shown in Listing 11, describes how a handler can process methods invoked on a Proxy interface implementation.
清单 11 中显示的 InvocationHandler 接口描述一个处理程序如何处理 Proxy 接口实现上的方法调用。
The ConfigHandler class, illustrated in Figure 2 and Listing 14, is an InvocationHandler responsible for handling method calls on a configuration interface.
图2和清单14中显示的confighandler类是负责处理配置接口上的方法调用的一个invocationhandler。
应用推荐