• You can use the factory pattern for this purpose.

    为了实现该目的,能够使用工厂模式。

    youdao

  • Listing 6 creates a Field using the Factory pattern in the Layout class.

    清单6用工厂模式,在Layout类中创建了Field。

    youdao

  • Seam USES the factory pattern to initialize non-component objects and collections.

    Seam使用工厂模式初始化非组件对象和集合。

    youdao

  • How to set different properties from objects which are returned by the Factory pattern?

    如何从这是由工厂模式返回的对象设置不同的属性?

    youdao

  • The simplest approach is to encapsulate the creation of the proxy class within the Factory pattern.

    最简单的方法就是在工厂模式中把代理类的建立封装起来。

    youdao

  • A primary component of the core container is the BeanFactory, an implementation of the Factory pattern.

    核心容器的主要组件是BeanFactory,它是工厂模式的实现。

    youdao

  • We used the factory pattern (see sidebar) for creating and populating binding details for a specific binding type.

    我们使用工厂模式(见附注)为某个绑定类型创建窗体并产生绑定详细信息。

    youdao

  • We've all heard of the factory pattern, right? Well, Ninject is kind of like a "super factory", in that it knows how to create all sorts of objects, based on hints that you provide.

    我们已经对工厂模式有所耳闻,而Ninject就类似于某种“超级工厂”,它知道如何根据你提供的提示,创建所有类型的对象。

    youdao

  • To create multiple instances of a registered type, use the factory pattern to create an object manager that is registered with the application and then manages the multiple instances.

    若要创建已注册类型的多个实例,请使用工厂模式创建一个对象管理器,该对象管理器将向应用程序注册并管理多个实例。

    youdao

  • As you can see from this snippet, first, we defined the pattern to obtain all the configuration objects corresponding to J2C connection factory.

    如您从此片段中看到的,首先,我们定义了获得与J2C连接工厂相对应的所有配置对象的模式。

    youdao

  • You use the factory method pattern when an application needs to create objects whose type depend on the implementation of subclasses.

    您可以在应用程序需要创建其类型依赖于子类的实现的对象时,使用工厂方法模式。

    youdao

  • The factory method pattern, as its name implies, defines the implementation of a method used to churn out objects.

    而工厂方法模式,顾名思义,定义的是一个用来大量产出对象的方法的实现。

    youdao

  • The business interaction diagram for the calendar feed may be visualized as some form of "service-oriented factory pattern", another emergent service-oriented concept.

    可以将日历Feed的业务交互关系图可视化为某种形式的“面向服务的工厂模式”,这是另一个新出现的面向服务的概念。

    youdao

  • To create an instance of the Factory Method Pattern, perform the same steps as for the Singleton Pattern.

    要创建Factory方法模式的实例,执行同Singleton模式相同的步骤。

    youdao

  • Flux's API will change to a POJO model to replace the original factory design pattern that it has had since 2000.

    Flux的API也将由从2000年开始一直采用的工厂设计模式转为POJO模型。

    youdao

  • The Factory Method Pattern is a creational pattern that defines an interface for creating an object but lets subclasses decide which actual class to instantiate.

    Factory方法模式是一个创建的模式,它定义一个用来创建对象的接口,而让子类来决定实例化哪个类。

    youdao

  • Typical examples include a cached DAO, cache of JNDI references, or any sort of common factory or other component that needs to use the Singleton pattern.

    典型的例子有:缓存的DAO,JNDI引用的缓存,或者任何类型的公共工厂或者其他需要使用Singleton模式的组件。

    youdao

  • Concrete classes provide the appropriate implementation for their respective base class. The Factory Method Pattern consists of the following classes.

    concrete类为它们各自的基类提供恰当的实现。

    youdao

  • The next-highest layer of abstraction is the BeanFactory interface, an implementation of the Factory design pattern that enables objects to be created and retrieved by name.

    下一个最高级抽象是BeanFactory接口,它是工厂设计模式的实现,允许通过名称创建和检索对象。

    youdao

  • This is a typical example of the Factory Method Pattern.

    这是个典型的Factory方法模式实例。

    youdao

  • Create the SecurityManager instance based on the configuration (using Shiro’s Factory concept that represents the Factory Method design pattern).

    根据配置创建SecurityManager实例(使用Shiro的工厂概念,它表述了 工厂方法设计模式);

    youdao

  • Then, I use the factory method pattern so that the coupling is with the interface.

    然后再使用工厂方法模式,这样耦合度就与界面相关联了。

    youdao

  • Many business object frameworks employee a Factory pattern to create concrete implementations of their business object interfaces, such as the User interface.

    许多业务对象框架采用工厂模式来建立业务对象接口的具体实现,例如user接口。

    youdao

  • Hopefully this article helped you understand the basics of the abstract factory pattern.

    希望这篇文章能帮助你理解抽象工厂模式的基础。

    youdao

  • In the latter case, the component USES the Factory design pattern to look up the default formatters for the class of the specified value.

    在后一种情况下,组件用工厂(Factory)设计模式来查找指定值类的缺省格式化器。

    youdao

  • What's the right way to use the Factory method design pattern?

    使用工厂方法设计模式的正确方法是什么?

    youdao

  • It describes two kinds of design patterns in COM in detail: Factory Method pattern and Proxy pattern, and tells how to realize the former.

    接着具体讲述了组件对象模型中使用的两种设计模式:工厂方法模式和代理模式。

    youdao

  • It describes two kinds of design patterns in COM in detail: Factory Method pattern and Proxy pattern, and tells how to realize the former.

    接着具体讲述了组件对象模型中使用的两种设计模式:工厂方法模式和代理模式。

    youdao

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

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

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