In these circumstances, the DASes create and initialize a data factory, but they keep it hidden and provide an interface themselves for creating data objects.
在这些环境中,DAS创建并初始化数据工厂,但使之保持隐藏状态,自行提供一个接口来创建数据对象。
That decision is implemented using the third approach — the decision is configured inside the factory and hidden from the client.
该决定使用第三个方法实现——该决定在工厂内部配置,对客户机隐藏。
The actual implementation of the interface is totally hidden from the GUI because it requests the implementation type from a factory, as shown in Listing 5.
对GUI完全隐藏了这个接口的实际实现,因为它是通过一个工厂来请求实现类型的,如清单5所示。
应用推荐