使用TinySAOP模块化依赖于状态的横切关注点

N. M. Ali, R. Hassan
{"title":"使用TinySAOP模块化依赖于状态的横切关注点","authors":"N. M. Ali, R. Hassan","doi":"10.1109/ICEEI.2015.7352538","DOIUrl":null,"url":null,"abstract":"In aspect-oriented programming (AOP), to specify its intention clearly, a pointcut definition must specify the join point where to adapt a crosscutting functionality, as well as the applicability condition of the crosscutting functionality (if any). Meanwhile, to realise modular abstraction of a crosscutting functionality, an advice must contain the crosscutting functionality only. A state-dependent crosscutting concern is an aspect whose applicability of its advice at a matched join point is state-dependent, and call graph-based AOP approaches are insufficient for a state-dependent crosscutting concern because they do not allow specification of the state-dependent applicability condition in the pointcut definition. Thus, the state-dependent applicability condition has to be embedded inside the aspect's advice, and as a result, the intention of the pointcut definition is not clearly defined and the modularity of the advice is broken. To solve the state-dependent crosscutting concern problem, the paper discusses TinySAOP language that exposes applicability join point and supports in pointcut to allow the applicability condition of a state-dependent crosscutting concern to be clearly specified in the pointcut definition and cleanly separated from the aspect's advice.","PeriodicalId":426454,"journal":{"name":"2015 International Conference on Electrical Engineering and Informatics (ICEEI)","volume":"112 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Modularisation of state-dependent crosscutting concerns using TinySAOP\",\"authors\":\"N. M. Ali, R. Hassan\",\"doi\":\"10.1109/ICEEI.2015.7352538\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In aspect-oriented programming (AOP), to specify its intention clearly, a pointcut definition must specify the join point where to adapt a crosscutting functionality, as well as the applicability condition of the crosscutting functionality (if any). Meanwhile, to realise modular abstraction of a crosscutting functionality, an advice must contain the crosscutting functionality only. A state-dependent crosscutting concern is an aspect whose applicability of its advice at a matched join point is state-dependent, and call graph-based AOP approaches are insufficient for a state-dependent crosscutting concern because they do not allow specification of the state-dependent applicability condition in the pointcut definition. Thus, the state-dependent applicability condition has to be embedded inside the aspect's advice, and as a result, the intention of the pointcut definition is not clearly defined and the modularity of the advice is broken. To solve the state-dependent crosscutting concern problem, the paper discusses TinySAOP language that exposes applicability join point and supports in pointcut to allow the applicability condition of a state-dependent crosscutting concern to be clearly specified in the pointcut definition and cleanly separated from the aspect's advice.\",\"PeriodicalId\":426454,\"journal\":{\"name\":\"2015 International Conference on Electrical Engineering and Informatics (ICEEI)\",\"volume\":\"112 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 International Conference on Electrical Engineering and Informatics (ICEEI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICEEI.2015.7352538\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 International Conference on Electrical Engineering and Informatics (ICEEI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEEI.2015.7352538","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

在面向方面的编程(AOP)中,为了清楚地指定它的意图,切入点定义必须指定连接点,在那里适应横切功能,以及横切功能的适用性条件(如果有的话)。同时,为了实现横切功能的模块化抽象,通知必须只包含横切功能。依赖于状态的横切关注点是这样一种方面,它在匹配连接点上的通知的适用性是依赖于状态的,而基于调用图的AOP方法对于依赖于状态的横切关注点是不够的,因为它们不允许在切入点定义中指定依赖于状态的适用性条件。因此,依赖于状态的适用性条件必须嵌入到方面的通知中,结果,切入点定义的意图没有明确定义,通知的模块化被破坏了。为了解决依赖于状态的横切关注点问题,本文讨论了TinySAOP语言,该语言在切入点中公开了适用性连接点和支持,从而允许在切入点定义中明确指定依赖于状态的横切关注点的适用性条件,并与方面的建议清晰地分离。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Modularisation of state-dependent crosscutting concerns using TinySAOP
In aspect-oriented programming (AOP), to specify its intention clearly, a pointcut definition must specify the join point where to adapt a crosscutting functionality, as well as the applicability condition of the crosscutting functionality (if any). Meanwhile, to realise modular abstraction of a crosscutting functionality, an advice must contain the crosscutting functionality only. A state-dependent crosscutting concern is an aspect whose applicability of its advice at a matched join point is state-dependent, and call graph-based AOP approaches are insufficient for a state-dependent crosscutting concern because they do not allow specification of the state-dependent applicability condition in the pointcut definition. Thus, the state-dependent applicability condition has to be embedded inside the aspect's advice, and as a result, the intention of the pointcut definition is not clearly defined and the modularity of the advice is broken. To solve the state-dependent crosscutting concern problem, the paper discusses TinySAOP language that exposes applicability join point and supports in pointcut to allow the applicability condition of a state-dependent crosscutting concern to be clearly specified in the pointcut definition and cleanly separated from the aspect's advice.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信