Notice that we use a generic JMS connection factory rather than a specific connection factory type.
请注意,我们使用的是通用的JMS连接工厂而不是特定的连接工厂类型。
You use the factory method pattern when an application needs to create objects whose type depend on the implementation of subclasses.
您可以在应用程序需要创建其类型依赖于子类的实现的对象时,使用工厂方法模式。
The factory is simply a component of the runtime whose function is to instantiate SDO data objects from SDO type definitions.
这个工厂仅仅是运行时的一个组件,它的功能就是根据sdo类型定义实例化sDO数据对象。
It also provides a number of named properties, each of which has a type and an optional default value in much the same way as a managed connection factory.
它还提供了许多命名属性,每个属性都有一个类型和一个可选的默认值,这种方式非常类似于托管连接工厂。
The straightforward way is to call the data factory again to create an object of the appropriate type, then assign it to the property in its parent object.
直接的方法为再次调用数据工厂来创建恰当类型的对象,随后将其指派给其父对象的属性。
Launching this wizard is done in much the same way as for activation specifications, except that you select the type of connection factory that you want to create.
启动此向导的方法与启动激活规范大致相同,不同的是应选择需要创建的连接工厂的类型。
Keep in mind that it is possible for this factory to register and create more than one type of aggregation, but you do this in the body of the code.
请记住,此工厂可以注册和创建多个聚合类型,但这需要在代码体中操作。
A type can be abstract, and the data factory will not allow you to create an instance of that type.
类型可以为抽象的,数据工厂将不允许创建该类型的实例。
To make use of a channel exit, an MQ messaging provider connection factory or activation specification must have a transport type of "client" or "bindings then client."
要使用通道出口,MQ消息传递提供程序连接工厂或激活规范必须具有传输类型“客户端”或“绑定然后客户端”。
If you instantiate a Box using the BoxImpl.make factory, you need only specify the type parameter once.
如果使用BoxImpl .make工厂实例化一个Box,您只需要指定一次类型参数。
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所示。
This interface specifies the signature for a factory that takes a DataReader type and creates a domain object from it.
这个接口为一个工厂定义了使用datareader类型创建一个域(domain)对象的签名。
If the helper class is a handler factory, the GetHandler method will actually determine the type of handler to use.
如果帮助类是一个处理程序工厂,那么GetHandler方法将最终决定使用处理程序的类型。
Steam locomotives of this type were produced at the Kolomna factory in the late 19th century.
这一类型的机车是19世纪末在Kolomna(俄罗斯科洛姆纳)工厂生产的。
In such a case, an application factory could choose the appropriate markup for each client type (HTML, XML, WML, or VoiceXML, respectively) and generate it using ECS.
在这种情况下,应用程序工厂可以为每种客户类型(分别是HTML、XML、WML或者VoiceXML)选择适当的标记并用ECS生成它。
This can be as simple as invoking the base class's factory method and asserting that the returned object is of the correct type. For example.
这与调用基类的工厂方法并断言返回对象具有正确类型一样简单。
In order to make use of a channel exit, a WebSphere MQ messaging provider connection factory or activation specification must have a transport type of either client or bindings-then-client.
为了利用通道出口,WebSphereMQ消息提供程序连接工厂和激活规范的传输类型必须为client或bindings - then - client。
Navigate to the Resources section, expand the JMS tab, and click on either Activation specifications or the appropriate type of connection factory link.
导航至Resources部分,展开JMS选项卡,单击Activationspecifications或适当类型的连接工厂链接。
It also defines a bean named ScriptFactoryPostProcessor of type ScriptFactoryPostProcessor, which will replace the factory beans with the actual scripted objects.
它还定义一个名为scriptfactorypostprocessor的bean,其类型为ScriptFactoryPostProcessor,它将用实际的用脚本编写的对象替换工厂bean。
This command cannot be used to change the type of connection factory. For example, to remove the send and receive channel exit configuration from the connection factory created above.
无法使用此命令更改连接工厂的类型。
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超链接。
Because we'd like our Lists to be generic in the type of element they contain, we'd like our static factory method to take an argument of type variable t and return an instance of List.
因为我们希望List成为其所包含的元素类型的泛型,所以希望静态factory方法带有类型变量t这一参数并返回List的实例。
We used the factory pattern (see sidebar) for creating and populating binding details for a specific binding type.
我们使用工厂模式(见附注)为某个绑定类型创建窗体并产生绑定详细信息。
Before the data factory will create anything, it needs to have defined to it the model — that is, the set of type names and the properties each type can have.
在数据工厂创建对象之前,需要为其定义模型,即一组类型名和各类型可拥有的属性。
This factory class searches the input and the output mime-type combination in the convertor tag present in convertors.xml.
此工厂类在convertors . xml中存在的转换器标记中搜索该输入和输出MIME类型的组合。
As you can see in Listing 9, I've first created a factory-like bean in Spring; that is, my RaceDAOImpl type has a property named SessionFactory, which is of type SessionFactory.
如您在清单9中所看到的,我首先在Spring中创建了一个类似工厂的bean;也就是说,我的racedaoimpl类型有一个名为SessionFactory的属性,是SessionFactory类型。
The formBean factory takes the service type from the http request parameter and calls the corresponding formBean.
formBeanfactory从httprequest参数获取服务类型并调用相应的 formBean。
Tiger allows us to declare type parameters at the level of individual methods by prefixing them to method declarations. For example, we could do so for our factory method make as follows.
Tiger让我们通过将类型参数作为方法声明的前缀,从而在单独的方法级别上声明类型参数。
Conventional factory configuration for the boom type installation, if you need other installation methods, please specify when ordering.
常规出厂配置为吊杆式安装,如需其它安装方式,订货时请注明。
Having been trained in a factory for sometime, we knew how to operate that type of machine and carry out the maintenance.
因为我们在一家工厂训练过一段时间,所以知道怎样操作那种型号的机器和进行维修工作。
应用推荐