Many business object frameworks employee a Factory pattern to create concrete implementations of their business object interfaces, such as the User interface.
许多业务对象框架采用工厂模式来建立业务对象接口的具体实现,例如user接口。
Different to traditional MOP, we only present the default implicit meta-interface, and programmers can entirely control their own meta-object interfaces.
不同于传统的MOP解决方案,本文只提供了缺省的隐式元接口,由编程人员完全定制自己的元对象接口。
The first two articles of this series described in detail how to use inline methods and how to use data access object interfaces (DAOs) to access the database.
本系列前两篇文章详细介绍了如何使用内联方法和数据访问对象(DAO)来访问数据库。
The Ice protocol provides a mechanism for implicit propagation of contextual information such as versioning, so we need not pollute all our object interfaces by adding an extra version parameter.
对于比如版本这样的上下文信息,Ice协议提供了一个隐式传播机制,我们不必为所有对象的接口都添加额外的版本参数。
We now have enabled the tests to use both interfaces to our mock object.
现在我们已使测试对我们的模拟对象使用两个接口。
Matchers specify a set of rules for messages that will be received based on interfaces, object paths, and methods (see below).
匹配器为可以基于接口、对象路径和方法进行接收的消息指定一组规则(见后)。
In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.
用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。
Another object design principle, that of encapsulation, also applies to designing service interfaces.
另一个对象设计原则(封装)也适用于设计服务接口。
A further technique for increasing consumability is to create service interfaces reflecting the states of the business object lifecycle.
增加易用性的另一项技术是,创建反映业务对象生命周期的状态的服务接口。
Put interfaces and business object definitions for process and task versions in a library.
将流程和任务版本的接口和业务对象定义放在库中。
The server generally advertises it's interfaces and object UUIDs publicly in the name service database so that any client application can reach to it using this information.
一般情况下,服务器会在名称服务数据库中公开地列出它的接口和对象UUID,让任何客户机应用程序都可以使用此信息联系它。
However, there is not an option to check if objects implement the interfaces they claim to implement, and there is no way of introspecting an object to list the interfaces it supports.
不过,没有选项来检查对象是否实现了它们所声明的接口,而且也没有办法可以调查对象内部以使列出其支持的接口。
By breadth, I mean the features that were beyond the scope of this article, such as abstract classes, interfaces, the iterator interface, reflection, exceptions, and object cloning.
广度指的是超出本文范围的那些特性,比如抽象类、接口、迭代器接口、反射、异常和对象复制。
Support for multiple interfaces per object: in CORBA, the interface identifier is implicit because only one object interface is supported, whereas DCOM supports multiple interfaces per object.
支持一对象多接口:在CORBA中,接口标识符是固有的,因为它只支持一种对象接口。然而DCOM能支持一对象多接口。
The calling component instantiates an object — deliberately not called a value object — that implements these interfaces and USES this object as a method parameter in both method calls.
调用组件将实现这些接口的对象(故意不称之为值对象)实例化,并在这两个方法调用中将该对象用作方法参数。
Because the finder methods are specific to each domain object, they are applied to the typed interfaces of the generic DAO.
因为查找器方法是特定于每个域对象的,因此将其应用于泛型DAO的类型化接口。
A COM client interacts with a COM object by acquiring a pointer to one of the object's interfaces and invoking methods through that pointer, as if the object resides in the client's address space.
COM的客户程序通过获取指向一个对象接口的一个指针,并通过该指针来调用方法以实现与COM对象之间的互相作用,就好像对象驻留在客户程序的地址空间中一样。
Interfaces are used to namespace the method names, so a single object can have multiple methods with the same name but with different interfaces.
接口用于名称空间和方法名称,因此一个单独的对象可以有名称相同而接口不同的多个方法。
This article assumes that you are familiar with creating business objects, interfaces, interface maps, and business object maps.
本文假定您熟悉创建业务对象、接口、接口映射和业务对象映射。
A COM object can support multiple interfaces, each representing a different view or behavior of the object.
一个COM对象可以支持多个接口,每个接口代表对象的一种不同的视图或行为。
The method returns an object that implements all the specified interfaces and proxies all method calls onto the chosen handler.
该方法返回一个对象,这个对象实现所有指定的接口,并将所有方法调用委托给选定的处理程序。
Proxies have many applications, such as wrapping legacy systems, adapting interfaces to libraries, and managing copies of the real object.
代理有很多用处,比如包装遗留系统、调整库的接口、管理实际对象的副本等。
Like interfaces, object UUIDs can also be advertised by the server.
与接口一样,服务器也可以公布对象UUID。
Technical reports published by the W3C that include programming language interfaces have typically been described using the Object Management Group's interface Definition language (IDL) [OMGIDL].
过去,W3C技术报告都是用对象管理组织(OMG)的接口定义语言(IDL) [omgidl]来描述编程语言接口的。
To summarize, the ORB pass by reference option basically treats the invoked EJB method as a local call (even for EJBs with remote interfaces) and avoids the requisite object copy.
总的来说,OR B通过引用传递选项基本上将调用的EJB方法作为本地调用对待(甚至对于带远程接口的EJB),并避免必需的对象复制操作。
Object-oriented design experts advise us to program to interfaces.
面向对象的设计专家建议我们对接口进行编程。
As the SharePoint Object Model provides a wide variety of interfaces we can again choose between multiple approaches.
由于SharePoint对象模型提供了丰富的接口,所以我们又可以在多种方式中进行选择了。
A Browser Helper Object follows the same pattern-the only changes are the interfaces to implement.
一个BHO对象遵循同样的模式——唯一的改变在于要实现的接口。
Listing 1: Object-oriented interfaces.
清单1:面向对象的接口。
CORBA IDL — Remote object access based on interfaces.
CORBAIDL——基于接口的远程对象访问。
应用推荐