Due to the crosscutting nature of such annotations, AOP is a good way to supply them. 由于这种注释的横切本性,用AOP提供它们是很好的一种方法。
It is possible to harness AOP's crosscutting mechanism to declare an annotation once for all affected elements. 可以利用AOP的横切机制对所有受影响的元素进行一次注释。
Hyperspaces goes beyond the encapsulation of crosscutting concerns and attempts to manage multi-dimensional separation of concerns. Hyperspaces超越了对横切关系的封装,并尝试管理关系的多维分离。
Spring uses the AOP specification and an XML configuration file to externalize crosscutting concerns, thus preserving the purity of your Java objects. Spring使用AOP规范和一个XML配置文件具体化横切关注点,因而保持了Java代码的纯洁性。
The syntax for creating static crosscuts is quite different from that of dynamic crosscutting, in that there are no pointcuts or advices. 创建静态横切的语法和动态横切有很大的不同,即没有切入点和通知。
Applying a more flexible approach to documentation also has the advantage of crosscutting methodologies. 引用更灵活的文档方法也具有横切方法(crosscuttingmethodologies)的优点。
With static crosscutting, architects and designers can effectively model complex systems in a true object oriented manner. 使用静态横切,架构师和设计者能用一种真正面向对象的方法有效地建立复杂系统的模型。
If you modularize crosscutting concerns, such as logging and transaction management, it becomes possible to add new features to your code without modifying each class individually. 如果对横切关注点(例如日志和事务管理)进行了模块化,那么不用修改每个单独的类,就可以向代码中添加新特性。
For the remainder of the article I will focus on the technique and application of static crosscutting. 在本文剩下的篇幅中,我将重点讲解静态横切的技术和应用。
Signature-based pointcuts cannot capture the join points needed to implement certain crosscutting concerns. 基于签名的切入点不能捕获实现某种横切功能所需要的连接点。
Conceptually, such a construct allows you to attach annotations to program elements in a crosscutting manner. 概念上,这种结构可以以横切的方式在程序元素上附加注释。
An AOP system that supports supplying annotations will let you attach annotations to program elements in a crosscutting manner. 一个支持提供注释的AOP系统可以以横切方式将注释附加到程序元素上。
To support metadata-based crosscutting, an AOP system needs to provide a way to consume and supply annotations. 为了支持基于元数据的横切,AOP系统需要提供一种消费和提供注释的方法。
Within the world of crosscutting, there are two types: dynamic crosscutting and static crosscutting. 在横切的世界里,横切有两种类型:动态横切和静态横切。
Moreover, static crosscutting lets you affix extensions and implementations to the fundamental structure of an object. 此外,静态横切可以把扩展和实现附加到对象的基本结构中。
This issue has to do more with the nature of the crosscutting functionality than the solution itself. 这个问题更多时候与横切功能的本性有关、而不是与解决方案有关。
We'll use an example to better see how static crosscutting can be implemented in an existing class. 我们将用一个例子来更好地展示静态横切是怎样在一个现有的类中实现的。
In object-oriented programming, for instance, the natural unit of modularity is the class, and a crosscutting concern is a concern that spans multiple classes. 例如,在面向对象的编程中,模块性的天然单位是类,横切关系是一种跨越多个类的关系。
For now, I'll show you the basic syntax to supply annotation in a crosscutting manner. 现在,我将展示以横切方式提供注释的基本语法。
All are examples of what are called crosscutting concerns. 所有这些都是所谓横切关注点的例子。
In AJDT it has been configured to show crosscutting relationships for the current element. 在AJDT里,该视图被配置成用来显示当前元素的crosscutting关联关系。
AOP ( Aspect-Oriented Programming) is a technique for separation of crosscutting concerns which expresses higher abstraction level. 面向方面编程是一种支持分离横切关注点的技术,表达了更高层次的抽象。
Aspects combine pointcuts and advice into a modular solution addressing a particular crosscutting concern. 切面是结合切入点和通知成一个模块方案,解决特殊的横切问题。
Further, many crosscutting characteristics will require one or more annotations per method. 而且,许多横切特性需要每个方法有一个或者多个注释。
However, supplying annotations in a crosscutting manner can be very helpful. 不过,以横切的方式提供注释是很有用的。
A crosscutting concern, when implemented in a traditional OO approach, cuts across many classes and methods. 一个横切关注点,在用传统OO方法实现时,会分解成很多类和方法。
Crosscutting becomes explicit, easy to reason about and change. 横切变得很明确,易于推理和修改。
Annotations are an easy way to capture certain crosscutting concerns in the applications. 用注解捕获应用中特定的横切关注点是一种很简单的方式。
Problem of crosscutting federate could be resolved effectively by using Aspect-Oriented programming technology. 利用面向方面的编程技术,能够有效地解决邦员的横切问题。
The intrusion sequence for igneous rocks is indicated by crosscutting and inclusion relationships. 火成岩的归入顺序由切割和包含关系来表示。