In our ideal situation, each component knows nothing about any other component and deals with other areas of the application only through abstract interfaces.
在理想情况下,每个组件不知道其它组件,而处理应用程序的其它区域只是通过抽象接口。
The concepts behind web services help you design loosely coupled services with abstract interfaces, thus decoupling service implementation from service definition.
Web服务背后的概念帮助您使用抽象的接口设计松散耦合的服务,这样就可以把服务实现与服务定义分开。
These ports support the definition of composite structures with clear but abstract interfaces that define the services "provided" to, or "required" by your customers.
这项端口支持组合结构的定义,这种结构中清晰但是抽象的接口,定义了“提供的”服务,或者客户所“需要的”服务。
To do so, developers would need to manually implement the provided interfaces and extend the abstract base classes.
要想这样做,开发人员需要手动地实现所提供的接口,并且扩展抽象基础类。
In addition to being an implementation language, BPEL4WS can be used to describe the interfaces of business processes as well — using the notion of abstract processes.
除了是一种实现语言之外,BPEL4WS同样还可以用来描述业务流程的接口—办法是使用抽象流程这个概念。
He also includes practical advice on using interfaces instead of abstract classes, and using exceptions intelligently.
他也在书中包括了很实用的建议:用接口替代抽象类和灵活使用异常。
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.
广度指的是超出本文范围的那些特性,比如抽象类、接口、迭代器接口、反射、异常和对象复制。
But we decided to not introduce messages yet, but rather abstract a set of related messages into interfaces 5.
但是,我们决定不引入消息,而是将一组相关的消息抽象为接口5。
The next important feature to take advantage of when migrating from PHP V4 to V5 is support for contract programming through interfaces and abstract classes and methods.
从PHP V 4迁移到PHP v5时要利用的下一个重要特性是支持通过接口、抽象类和方法进行契约编程。
Extensible framework - Common functions and features are abstracted as loosely coupled abstract classes and interfaces, which can be extended to provide application-specific implementations.
可扩展框架——将通用功能和特性抽象为松耦合的抽象类和接口,可以扩展这些类和接口以提供应用程序特定的实现。
Its components rely on interfaces and abstract classes as opposed to concrete ones, as they would in a tightly coupled system.
松散耦合应用程序中的组件依赖于各种接口和抽象类,而紧密耦合的系统则与之相反,其组件依赖于各种具体的类。
As such interfaces in Ada 2005 are only permitted to have abstract subprograms and null procedures as operations.
因为Ada 2005中这样的接口只允许有抽象的子程序以及null程序作为操作。
Because dao is unable to hide implantation details through interfaces or abstract classes, any changes could then impact on its dependent components.
因为dao无法通过接口或抽象类隐藏注入细节,所以任何更改都可能影响它的依赖组件。
The current plans and proposals for lambdas favor "single abstract method" interfaces.
目前的计划和目标是lambdas有助于"单一抽象方法"接口。
There are no framework interfaces or abstract classes to "hook" components into the application.
在应用中,POJO没有使用接口或抽象类来“钩住”组件。
The code for the model element Vehicle is shown in Listing 9. Although the definitions for these interfaces are similar to those of classes, the operations under these interfaces are always abstract.
这个模型元素vehicle的代码显示在列表9中。尽管这些接口的定义与那些类定义十分相似,但是这些接口下面的操作通常是抽象的。
There's also a sample application (see the Downloads section) containing Geronimo GBeans, which abstract the public interfaces of the primary components of the Pluto framework.
还有包含GeronimoGBean的样例应用程序(请参阅下载部分),Geronimo GBean 将用于抽象化Pluto框架的主要组件的公共接口。
In Ada 95 an abstract type could only have one immediate ancestor, but in Ada 2005 it is possible to derive a new type from multiple interfaces or tagged types.
在Ada 95中,一个抽象的类型只能拥有一个即时的起源,但是在Ada 2005中,可能会从标记类型的多种接口中获得一个新的类型。
What's more, com.acme.ascp.billing's abstractness value is 0.8, which indicates it can be shielded from modifications through its interfaces and abstract classes.
此外,com . acme . ascp . billing的抽象性值是0.8,这表明它可以通过接口和抽象类来防止被修改。
Enable consumers and providers to develop against abstract data and service models rather than directly to prescribed interfaces.
允许使用者和提供者以抽象的数据和服务模型(而不是预先确定的接口)为基础进行开发。
Finally, Composite is one of the patterns that can be implemented with an abstract aspect using tag interfaces to specify the classes playing the roles.
最后,组合是可用抽象方面实现的模式之一,可以使用标签接口来规定担任该角色的类。
To port XM to other user interfaces, implement the interfaces such as Messenger (see the previous section) that abstract the user interface.
要将XM 移植到其他界面,只需要像Messenger(请参阅上一节)那样抽象用户界面的接口即可。
The abstract keyword makes using interfaces a lot easier, as I show later.
abstract关键字使得使用接口十分容易,我稍后将加以说明。
That's is the reason abstract methods should be in abstract class (so that one cannot create the object for the abstract class) or interfaces only.
这是抽象的方法应该是抽象类的原因(使人不能创建抽象类的对象)或接口只。
The main advantage in using interfaces is that classes can implement more than one of them, as opposed to being able to derive from a single base class (abstract or otherwise).
使用接口的主要优点是可以实现的类不止一个,而这些类不能从一个单一的基类派生(抽象或相反)。
Why abstract classes instead of interfaces?
为什么抽象类代替了接口?
Avoid abstract methods, use interfaces instead.
避免使用抽象方法,而是使用接口代替。
Are You Using Abstract Classes, Polymorphism, and Interfaces?
你在使用抽象类,多态性,接口吗?
Are You Using Abstract Classes, Polymorphism, and Interfaces?
你在使用抽象类,多态性,接口吗?
应用推荐