这样做的好处是有限的,因为它无法显示在通知与受影响的连接点之间,或者通知与通过类型间声明添加的附加成员之间的所有有意义的关系。
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.
通过指出什么时候连接点受通知影响,AOP工具回答了这些问题。
Tool support answers these questions by indicating when a join point is affected by advice.
在这些例子中,我将重点放在通过注释类型选择连接点上,然后我将进一步解释在选择连接点时,其他会起作用的因素。
In these examples I'll focus on selecting join points by annotation type; further down I'll explain some of the other factors that can weigh in on join point selection.
应用推荐