• One layer above the core object is the factory code. The factory object provides a basic abstraction of the core XPCOM object.

    核心对象工厂代码层。工厂对象提供了核心XPCOM对象基本抽象

    youdao

  • Another approach would be to create a factory class for instantiating the implementations, but there would still be a dependency to the implementation class in your code.

    另一种方法创建用于实例实现工厂但是的代码仍然存在实现类的依赖

    youdao

  • But forcing the public API to accommodate factory objects or abstract factories, just because the test code wants it to, is the wrong design.

    强迫公用api适应工厂对象抽象工厂(因为测试代码要求这样)错误的设计。

    youdao

  • Because we overrode the factory method to write this test, it turns out that we no longer have any test coverage of the original creation code (which is now inside the base class's factory method).

    因为我们覆盖工厂方法编写这个测试所以其结果是:我们测试不再包括任何原始创建代码(现在工厂方法内部)。

    youdao

  • In Listing 9, the code that formatted the address is moved to interfaces, implementation classes, and a factory - building the "use interfaces" habit.

    清单9中,格式化地址代码接口实现工厂中—养成“使用接口”的习惯。

    youdao

  • Then the code uses the registered database definition created in the sample to get the database-specific model element factory.

    然后使用前面创建注册数据库定义获得特定数据库的模型元素工厂。

    youdao

  • Help those who want to modify the Service Factory source code; doing this is not a straightforward process.

    那些希望修改服务工厂源代码的用户提供方便;目前执行操作不是一个简单的过程。

    youdao

  • 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.

    记住工厂可以注册创建多个聚合类型需要代码中操作。

    youdao

  • The code USES the SCA service manager to locate the business object Factory, which is used to create business objects from XML schemas.

    这些代码使用SCA服务管理器查找业务对象工厂(Business Object Factory),后者用于XML模式创建业务对象

    youdao

  • As an example, the code in Listing 1 USES an anonymous class to create a Thread Factory.

    例如,清单1代码使用匿名创建Thread Factory

    youdao

  • First, you export the code and resources of the widget from Lotus widget Factory as a standard WAR file and deploy it to a WebSphere instance.

    首先来自LotusWidgetFactory部件代码资源导出标准WAR文件将其部署WebSphere实例。

    youdao

  • Lotus widget Factory is a tool that allows the development of custom enterprise-ready widgets in a visual way, without your having to write code.

    LotusWidgetFactory一个允许可视方式开发企业级定制小部件工具,并且需要编写任何代码

    youdao

  • The dynamic profiling capability of WebSphere Portlet Factory helps developers to create multiple, highly customized applications from one code base.

    WebSpherePortletFactory动态概要分析功能可以帮助开发人员一个代码创建多个高度自定义应用程序

    youdao

  • With WebSphere Portlet Factory dynamic profiles, configuration of Web applications becomes very easy and powerful, providing configuration capability without writing code.

    使用WebSpherePortletFactory动态概要Web应用程序配置变得非常简单功能非常强大,无需编写代码就可以进行配置。

    youdao

  • 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实例

    youdao

  • There are three ways for client code to access MXBeans: through factory methods, through the platform server, or as proxies.

    客户机代码访问MXBean三种方式通过工厂方法、通过平台服务器作为代理

    youdao

  • The client deployment descriptor, in a file called application-client.xml, contains references to the JNDI names of the JMS connection factory and queue that are used in the above code.

    客户部署描述符一个称为application-client.xml文件中,包含用于上述代码中JMS连接工厂队列JNDI名称引用

    youdao

  • It can also use constructors or factory methods, but most examples you'll seeand the Spring code base itself — focus on setters.

    使用构造函数工厂方法看到大多数示例Spring代码基本还是使用setter。

    youdao

  • The code in Listing 2 takes as input the actual XML instance and USES the parse method of the Factory class of AutomobilePolicyDocument to get an instance of AutomobilePolicyDocument.

    清单2代码接受输入xml实例使用AutomobilePolicyDocumentFactoryparse方法获得AutomobilePolicyDocument实例。

    youdao

  • If you open the generated J2C bean, you will see that the JNDI name of the managed connection factory is specified in the doclet tag within the code.

    如果打开生成J2Cbean,您看到代码被贴以doclet标志受管连接工厂JNDI名字

    youdao

  • This is another rather boring line of code: Just call newTransformer() on your factory and supply the method with the XSL stylesheet you want to use. Listing 4 shows you what to do

    另一相当令人厌烦代码工厂调用newTransformer(),方法提供使用XSL样式表

    youdao

  • The "factory in a box" is realized through the packaging of these features into a set of IBM software products and customized code, which is also referred to as the Multi-source Data Integrator (MDI).

    盒子里工厂通过这些功能打包IBM软件产品自定义代码实现的,这些产品和代码称为多源数据成器(Multi - source Data Integrator,MDI)。

    youdao

  • While the same functionality can be created by writing code, WebSphere Portlet Factory provides a set of builders that enable the implementation of this function without writing code.

    尽管通过编写代码可以创建相同功能,但是WebSpherePortletFactory提供了Builder支持编写代码的情况下实现相应的功能

    youdao

  • The factory returns a stub that uses the endpoint address passed on the method. The code snippet below shows this technique

    工厂使用传递方法端点地址返回一个存根

    youdao

  • In the sample code (line 5) I retrieve the (default) document factory used to build the document and store it in an instance variable (m_factory) for use by the modify method.

    样本代码(第5行)中,检索用于构建文档的(缺省)文档工厂存储一个实例变量(m_factory)中以供modify方法使用

    youdao

  • The Web Service Software Factory (also known as the Service Factory) is an integrated collection of tools, patterns, source code and prescriptive guidance.

    WebServiceSoft wareFactory(所谓服务工厂)集成工具模式源代码说明性指导的集合

    youdao

  • Apply the Extract method refactoring to this creation code, creating the factory method (discussed on page 110 of Fowler's book; see the Resources section for more information).

    抽取方法重构应用于这个创建代码创建工厂方法(Fowler书籍第110讨论有关更多信息,请参阅参考资料一节)。

    youdao

  • From there, your code works the same. It USES JNDI to access the JMS connection factory and JMS queue, and USES them to send and receive messages.

    这里代码同样使用JNDI访问JMS连接代理jms队列并且使用它们发送接收消息

    youdao

  • This code appears to be for internal factory use, perhaps to trace various batches of tubes.

    代码似乎厂家内部使用也许是为了跟踪不同批次管子

    youdao

  • This code appears to be for internal factory use, perhaps to trace various batches of tubes.

    代码似乎厂家内部使用也许是为了跟踪不同批次管子

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定