一个静态的泛型和非泛型类工厂方法?
A static factory method on a generic or a non-generic class?
我们同样称呼这个对象为类工厂对象。
这个实体能够是类工厂对象或其它客户端。
This entity can be the class factory object or any other client.
此函数让客户端感知实现类工厂的模块。为什么这样做呢?
This function lets the client keep alive the module that implements the class factory object.
这样让全局引用计数对类工厂对象的引用计数不再起作用了。
Thus for global reference counting, references to the class factory object should not count.
这个数据成员保存注册类工厂对象时COM返回出来的标识。
This data member saves the identifier that COM returns when registering the class factory object.
返回的对象是类工厂对象,接口id确保调用者“理解”指针。
The object returned is the class factory object, and the interface ID assures the caller that it "understands" the pointer.
更改数据库使用的每数据库底层的类工厂函数使之支持不同的类工厂策略。
Change the class factory function a database USES on a per-database basis to support different class factory policy.
对象的代码不再需要了,然而依然存在用COM库函数注册过的类工厂对象。
The object's code is not needed anymore, even if it still has its class factories registered with the COM libraries.
类工厂,加载和卸载代码,和注册支持只是简单地让你调整类名称和GUID。
The class factory, the loading and unloading code, and registration support simply require you to adjust the name of the class and the GUIDs involved.
正如我们已经看到的一样,Foo .say的修改是通过FooMaker类工厂在运行时严格确定的。
As already observed, the modification of Foo.say is determined strictly at runtime, via the use of the FooMaker class factory.
记住客户端传递一个接口id到类工厂对象里,在对象内部我们审核它是不是我们类工厂的接口。
Remember that the client passed an interface id to the class factory object, and in the object we validated whether it was our class factory interface.
唯一可靠的方法就是也出口类工厂函数,一个简单的函数,使用新的操作符来创建对象并返回的指针。
The only reliable way to do it is to also export a class factory function, a simple function that USES the new operator to create the object and return the pointer.
要求:机械工程师,机械类相关专业本科,5年以上机械制造类工厂管理经验,精通机械加工工艺,熟悉数控环境,英语读写和沟通能力较强。
Requirement: Bachelor or master degree in engineering. Over 5 years of experience as a manager in machining company. Good command in English speaking and reading.
他是工厂监督一类的人吧。
对于每一个定制服务,都应该有一个相对应的定制服务工厂类。
For each custom service, there should be a corresponding custom service factory class.
大多数供应商提供在调用后可以返回一个连接的工厂类。
Most vendors supply factory classes that will return a connection upon being invoked.
如果框架与类混杂,可以添加一个工厂类,将它们装配到通用组合中,并为通用情况提供一个更简单的API。
If the framework gets cluttered with classes, you can add a factory class that assembles them into common combinations and provides a simpler API for common cases.
该属性指向一个提供初始上下文工厂的类。
This property points to a class that provides an initial context factory.
就连接工厂而言,工厂类可以返回一个已预先装入专有连接信息的连接。
In the case of connection factories, the factory class can return a connection that has been pre-loaded with the proprietary connection information.
供应商定义的工厂类将提供方法以允许程序员设置连接参数。
A vendor-defined factory class will expose methods that allow the programmer to set the connection parameters.
这些类表示EMF资源工厂。
针对这类问题的一种面向对象式解决方案是使用工厂类。
The object-oriented solution to such a problem is the factory class.
工厂,创建以上类的实例。
使用一个工厂类简化对象构建。
用一个工厂类来创建一个空的OMElement对象。
该定制服务工厂类应该实现OSGiServiceFactory接口。
The custom service factory class should implement the OSGi ServiceFactory interface.
该例子使用PortletServiceCacheFactory作为该服务的工厂类。
The example USES PortletServiceCacheFactory as the factory class for the service.
该例子使用PortletServiceCacheFactory作为该服务的工厂类。
The example USES PortletServiceCacheFactory as the factory class for the service.
应用推荐