该方法能保证服务客户机对实现其调用的显式接口的具体服务不具有依赖性。
The approach ensured that service clients had no dependencies on the concrete services that implemented the explicit interfaces they invoked.
这个方法的重要后果是显而易见的。 显式接口、代理、调用程序和组件配置器实现间的交互严重依赖于 C++ 实时类型信息 (Run-Time Type Information, RTTI)。
The interaction between the explicit interface, proxy, invoker, and component configurator implementations relied heavily on C++ Run-Time Type Information (RTTI).
不幸的是,此假设与实际不符,因为在元数据级别上位于每个接口上的每个方法都有各自的槽(slot)(这使得显式接口实现得以工作)。
Unfortunately, it is incompatible because at the metadata level every method on every interface has its own slot (which makes explicit interface implementations work).
应用推荐