You can think of this class as a factory class.
您可以将此类视为工厂类。
Using a factory class to simplify object construction.
使用一个工厂类简化对象构建。
Create an empty OMElement object using a factory class.
用一个工厂类来创建一个空的OMElement对象。
The object-oriented solution to such a problem is the factory class.
针对这类问题的一种面向对象式解决方案是使用工厂类。
This setting specifies the JNDI factory class to look up the LDAP server.
该设置指定用于在LDAP服务器上进行查找的JNDIfactory类。
Select com.sun.jndi.fscontext.RefFSContextFactory for context Factory class.
选择com . sun . jndi . fscontext .RefFSContextFactory作为contextFactory Class。
The example USES PortletServiceCacheFactory as the factory class for the service.
该例子使用PortletServiceCacheFactory作为该服务的工厂类。
The custom service factory class should implement the OSGi ServiceFactory interface.
该定制服务工厂类应该实现OSGiServiceFactory接口。
For each custom service, there should be a corresponding custom service factory class.
对于每一个定制服务,都应该有一个相对应的定制服务工厂类。
Get an XPath factory class to provide instances of a vendor-specific XPath implementation.
获得一个XPath工厂,以提供特定于供应商的XPath实例的一个实现。
Also, all the generated interfaces have a factory class that contains static methods such as.
此外,所有生成的接口都有一个包含静态方法的工厂类,比如。
The Message singleton serves as a metadata repository and factory class for the Message class.
单实例对象Message作为message类的元存储库和工厂类。
Create an instance of the Twitter class with the help of a factory class named TwitterFactory.
在一个名为TwitterFactory的工厂类的帮助下,创建一个Twitter实例。
This interface-to-factory class generates a DbCommand to delete a domain object from the database.
这个工厂接口类产生一个用来删除域对象的DbCommand。
The static methods in the Factory class will then call the instance methods of your factory instance.
然后,Factory类中的静态方法会调用您工厂实例的实例方法。
You can just use a constructor for the appropriate class directly, without going through a factory class.
可以仅仅直接使用相应类的构造函数,而不用通过工厂类。
Each binding factory class references the support classes for every class with a definition in that binding.
对于每个类,每个绑定工厂类都用这个绑定中的定义去引用支持类。
A vendor-defined factory class will expose methods that allow the programmer to set the connection parameters.
供应商定义的工厂类将提供方法以允许程序员设置连接参数。
To change the behavior of the Factory class, you simply subclass FactoryImpl and override its non-static methods.
要更改Factory类的行为,只要子类化Factory Impl并覆盖其非静态方法。
The factory class maintains a pool of HttpApplication objects and uses them to service requests for the application.
该工厂类维护一个用于服务应用程序请求的HttpApplication对象池。
Why had I implemented not just one, but two DAOs, and why had I set up a Factory class to allow a choice between them?
为什么我实现的dao不止一个,而是两个,又为什么设置了一个Factory类以允许在它们之间进行选择呢?
This class, called the DCS Factory class, helps get the instance of the appropriate convertor for a particular conversion.
这个称为“DCS工厂类”的类帮助获取适当转换器的实例以便执行某个特定的转换。
Note that the implementation classes are only instantiated through a factory class that is generated by the JAXB compiler.
请注意仅通过由JAXB编译器生成的一个工厂类来实例化实现类。
In addition to the generic Interface a Factory class is generated, which might be configured in the project's config file.
除通用基本接口外,还生成了一个Factory类,并可以在项目配置文件中进行配置。
This factory class searches the input and the output mime-type combination in the convertor tag present in convertors.xml.
此工厂类在convertors . xml中存在的转换器标记中搜索该输入和输出MIME类型的组合。
The first parameter (which I'll cover in more detail in the next section) is a factory class for creating endpoint instances.
第一个参数(我将在下一节详细介绍)是一个创建端点实例的工厂类。
So, we use a Factory class (a.k.a. an object factory) to provide the client code with instances of Db2AttendeeDAO and DefaultDAO as needed.
因此我们使用Factory类(又名对象工厂),以根据需要为客户机代码提供Db2AttendeeDAO和 DefaultDAO实例。
By default, the InitialContext factory is defined in jndi.properties, and the factory class has defaults for a server URL and a port number.
在默认情况下,InitialContext工厂是在jndi . properties中定义的,这个工厂类有默认的服务器URL和端口号默认值。
In the Extension Element Details area, type or browse to the name of your factory class, then click the class hyperlink next to the text box.
在ExtensionElementDetails区域,键入或浏览到工厂类的名称,然后单击文本框旁边的class超链接。
In the Extension Element Details area, type or browse to the name of your factory class, then click the class hyperlink next to the text box.
在ExtensionElementDetails区域,键入或浏览到工厂类的名称,然后单击文本框旁边的class超链接。
应用推荐