首页> 外文会议>Software composition >An Advice for Advice Composition in AspectJ
【24h】

An Advice for Advice Composition in AspectJ

机译:AspectJ中的建议组合建议

获取原文
获取原文并翻译 | 示例

摘要

Aspect composition often involves advice interference and this is a crucial problem in aspect oriented programming. When multiple advices are woven at the same join point, the advices often interfere with each other. Giving appropriate precedence order is a typical solution of this problem but it cannot resolve all kinds of advice interference. To address this problem, we propose a novel language extension named Airia, which provides a new kind of around advice for resolving advice interference. This kind of advice named a resolver is invoked only at the join points when given advices conflict with each other. The resolvers can call an extended version of proceed, which takes as an argument precedence order among remaining advices. Furthermore, the resolvers are composable. They can be used to resolve interference among other resolvers and advices.
机译:方面构成通常涉及建议干扰,这是在面向方面的编程中的关键问题。当在同一连接点上编织多个建议时,这些建议通常会相互干扰。给出适当的优先顺序是解决此问题的一种典型方法,但是它不能解决各种建议干扰。为了解决这个问题,我们提出了一种名为Airia的新型语言扩展,它提供了一种新型的围绕建议,以解决建议干扰。当给定建议彼此冲突时,仅在连接点处调用这种名为解析程序的建议。解析器可以调用procedure的扩展版本,该扩展版本将其余建议中的优先级作为参数。此外,解析器是可组合的。它们可用于解决其他解析器和建议之间的干扰。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号