This reusable-object aspect of ActiveX makes it a very useful tool for writing ordinary client/server programs.
目录中最普通的对象; 每个用户对象都表示一个网络上的用户。
AOP or Aspect Oriented Programming allows developers to "weave" code fragments through their object and methods without explicitly placing the code in the class's source.
AOP或者说面向方面编程支持开发人员将代码段“织入”到对象和方法中,而不需要显式地将代码放入到类的源代码中。
Adding a new method to an object is as simple as defining one in an aspect, as shown in Listing 2.
如清单2所示,在一个对象中添加一个新的方法和在一个方面中定义一个方法是同样简单的。
Another aspect of the pattern is how markers are associated with business objects to indicate whether an object has been created, updated, or deleted.
此模式的另一个方面是,标记如何与业务对象关联来指示是否已创建、更新或删除了对象。
The approach we take here removes the need for the whole first aspect because, instead of mapping the XML into native objects, we have made the XML a native object that can be used as is.
我们这里所采用的方法将去除了在第一个方面的需要,因为这时我们已经将XML作为一个直接使用的本机对象,而不用再次的映射操作。
For example, you could configure an exception-handling aspect with an exception-handling strategy object.
例如,可以用异常处理策略对象配置异常处理方面。
One important aspect to note is that tree viewers access model objects through an adapter called a content provider and determine how the object should be visualized through a label provider.
一个需要注意的重要方面是,树形查看器通过称为内容提供程序的适配器访问模型对象,并使用标签提供程序确定显示对象的方式。
You're testing a fake aspect against a fake object.
对一个假的对象测试假的方面。
These concerns are implemented in another object, or more specifically in an aspect that is weaved into the main flow of control.
这些关系在其它对象或者在编排在主控制流程中的方面中执行。
Another interesting aspect to this object is that it is found within a globular cluster, a very old, very tight grouping of stars.
这个物体另一个有趣的一面是,它是在一个球状星团中,一个很古老很紧密星群中被发现。
We will illustrate the second aspect of mock objects by constructing a MockCustomerCommunication object.
我们将通过构造MockCustomerCommunication对象来阐述模拟对象的第二个方面。
From anywhere within a project you can reference the fosfr object directly and gain quick access to any aspect of the framework, as well as any SWF currently loaded within the project.
项目的任何一个地方,你都能直接索引到fosfr对象,快速访问到框架的任何一个方面,可以访问到加载在项目中的所有swf。
The test verifies that the advice in the aspect succeeds by either looking for a known side-effect of the advice or by using a mock object.
这个测试通过查找建议的已知副作用或者使用一个mock对象来验证方面中的建议是否成功。
The setUp method instantiates the mock object and injects it into the aspect.
setUp方法实例化mock对象并将它注入到方面中。
Each indicator maps to a health aspect of the database for a particular object (for example, an instance, database, table space, and so on).
每一个指示器都映射到数据库中特定对象(如实例、数据库、表空间等等)的某一方面的健康状况。
Note also that the BirthdayCardSender object is used as an aspect in this case, but does not need to implement any framework-specific interfaces.
请同时注意在这个例子中,BirthdayCardSender对象被用作一个切面,但不需要实现任何特定于框架的接口。
Listing 8 shows the resulting aspect where the Email object is statically enhanced to implement the vendor's Validatable interface.
清单8显示了结果方面,其中email静态地得到增强以实现供应商的Validatable接口。
The final aspect of using the find method deals with deleting registration of the object. TestObject.find
最后使用查找程序是删除这个对象的注册表。
The rest of the aspect is responsible for creating the right MBean and object name with JMX.
这个方面剩下的部分负责用JMX创建正确的MBean和对象名称。
Okay, refactoring does not pretend to be imposing radically new paradigms like object-oriented or aspect oriented programming when they appeared for the first time.
对,重构从一诞生之初,就从未放言像面向对象或面向方面编程那般会成为一种划时代的全新模式。
Because the requirements will differ according to context, the advice to set up the worker object is best contained in each sub-aspect rather than in the abstract base aspect.
因为要求根据上下文而不同,所以设置工人对象的建议最好是包含在每个子方面中,而不是在抽象的基方面中。
What no physical object can get right, because no physical object can get at all, is the qualitative aspect of experience.
物理对象无法感受到,对事物的定性体验是什么样的,因为它们根本无法去感受?
As with object design, we should expect that creating reusable, loosely coupled, aspect-based systems and reusable, generic aspect libraries will require a comprehensive approach based on interfaces.
就像使用对象设计时,我们应当预料到创建可重用的、松散耦合的、面向方面的系统和可重用的、通用的方面库会大量地要求基于接口的技术。
Just as traditional interfaces serve well the object-oriented view of the world, the metadata-enabled ones — aspectual interfaces — serve the aspect-oriented view of the world.
就像传统接口可以很好地服务于面向对象的世界视图那样,支持元数据的接口(方面化的接口)也可以服务于面向方面的世界视图。
With the Spring AOP, any object managed by the Spring Framework can become aspect oriented, and this tutorial relies on the declarative transaction management services provided via the Spring AOP.
使用SpringAOP,任何受spring框架管理的对象都可变为面向方面的,并且本教程利用了通过Spring AOP提供的声明式事务管理服务。
With the Spring AOP, any object managed by the Spring Framework can become aspect oriented, and this tutorial will rely on the declarative transaction management services provided by the Spring AOP.
使用SpringAOP,任何受spring框架管理的对象都可变为面向方面的,并且本教程利用了通过Spring AOP提供的声明式事务管理服务。
This crime has some special features in terms of crime object, objective aspect, crime subject and subjective aspect.
该罪在犯罪客体、客观方面、主体和主观方面都有自己的特征。
She saidthat an apple-branch was a most lovely object, and an emblem of spring in its most charming aspect.
因此当一位贵族的车子在它面前的路上停下来的时候,当年轻的伯爵夫人说这根柔枝是世界上最美丽的东西、是春天最美丽的表现的时候,它一点也不感到惊奇。
In experimental aspect:1) A 2D image of an object situated at 0.52 meters is reconstructed with circular interference fringes in the laboratory.
实验方面:1)在实验室利用环状干涉条纹对0.52米远的散射目标成像,获得了较好质量的目标二维像;
The results indicate that the object of safety economy statistics is the quantitative aspect of safety economy phenomenon.
安全经济统计的研究对象是安全经济现象的数量方面;
应用推荐