Pointcuts, advice, and inter-type declarations.
切入点、通知和类型间声明。
This aspect also defines helper methods using inter-type declarations on managed bean classes.
这个方面还用受管理bean类上的类型间声明定义了辅助方法。
Similar markers and submenus are used to indicate other crosscutting information, such as inter-type declarations.
类似的标记和子菜单也可以用来表示其他横切信息,例如类型间声明。
The Composite pattern can be implemented in AspectJ using inter-type declarations as shown above with configuration.
Composite模式在AspectJ中可使用内部类型声明实现,如上面关于配置的一节所述。
All other affected join points show the same structure (for example, types affected by inter-type declarations and call sites affected by advice).
所有其他受影响的连接点都显示了相同的结构(例如,受类型间声明影响的类型,以及受通知影响的调用站点。)
The Document Outline presents the crosscutting structure for the active editor, indicating the advice and inter-type declarations that affect the corresponding join points.
文档大纲(Document Outline)表示活动编辑器的横切结构,代表影响对应连接点的通知和类型间声明。
Where objects are necessary, try to use inter-type declarations in aspects to compose the objects, so different (pattern) roles remain distinct even when defined on one class.
如果对象是必需的,那么应该尝试在方面中使用内部类型声明来组合对象,从而使不同的(模式)角色保持区别,即使在同一个类中定义也是如此。
This is only marginally useful, since it will fail to show any of the interesting associations between advice and affected join points, or the additional members added by inter-type declarations.
这样做的好处是有限的,因为它无法显示在通知与受影响的连接点之间,或者通知与通过类型间声明添加的附加成员之间的所有有意义的关系。
While the tools have converged on the idea of a join point model, pointcuts, advice, and inter-type declarations, there are significant trade-offs inherent in each tool's handling of AOP syntax.
虽然这些工具已经集中在连接点模型、切入点、通知和类型间声明的思想上,但是每种工具在处理AOP语法时,仍有各自明显的优缺点。
While the tools have converged on the idea of a join point model, pointcuts, advice, and inter-type declarations, there are significant trade-offs inherent in each tool's handling of AOP syntax.
虽然这些工具已经集中在连接点模型、切入点、通知和类型间声明的思想上,但是每种工具在处理AOP语法时,仍有各自明显的优缺点。
应用推荐