Modélisation par aspects et transformation vers AspectJ et Hyper/J

Ouafa Hachani, D. Bardou
{"title":"Modélisation par aspects et transformation vers AspectJ et Hyper/J","authors":"Ouafa Hachani, D. Bardou","doi":"10.3166/objet.11.1-2.127-142","DOIUrl":null,"url":null,"abstract":"The use of the aspect-oriented concepts and mechanisms can improve the object-oriented design patterns implementation. However a certain lack of consensus on the basic aspect-oriented concepts and relations and the diversity of the suggested programming languages related to the Aspect approach, make it uneasy to express new pattern structures in a way that is not dependent from a specific programming language. We propose to avoid this difficulty by relying on a general meta-model for the aspect-oriented modeling that we worked out by identifying the common concepts and relations of both AspectJ and Hyper/J, two of the principal today aspect-oriented programming languages. This paper introduces this meta-model along with two meta-models that are respectively specific to AspectJ and Hyper/J. Transformation rules from a general model that is an instance of the general meta-model to the instance of one of the specific meta-model are also proposed. We illustrate this approach with the GoF Strategy pattern.","PeriodicalId":201701,"journal":{"name":"Obj. Logiciel Base données Réseaux","volume":"71 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Obj. Logiciel Base données Réseaux","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3166/objet.11.1-2.127-142","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The use of the aspect-oriented concepts and mechanisms can improve the object-oriented design patterns implementation. However a certain lack of consensus on the basic aspect-oriented concepts and relations and the diversity of the suggested programming languages related to the Aspect approach, make it uneasy to express new pattern structures in a way that is not dependent from a specific programming language. We propose to avoid this difficulty by relying on a general meta-model for the aspect-oriented modeling that we worked out by identifying the common concepts and relations of both AspectJ and Hyper/J, two of the principal today aspect-oriented programming languages. This paper introduces this meta-model along with two meta-models that are respectively specific to AspectJ and Hyper/J. Transformation rules from a general model that is an instance of the general meta-model to the instance of one of the specific meta-model are also proposed. We illustrate this approach with the GoF Strategy pattern.
通过AspectJ和Hyper/J进行方面和转换的modsamizization
使用面向方面的概念和机制可以改进面向对象的设计模式实现。然而,由于在面向方面的基本概念和关系上缺乏共识,以及与Aspect方法相关的建议编程语言的多样性,使得以一种不依赖于特定编程语言的方式表达新的模式结构变得不容易。为了避免这种困难,我们建议依赖于面向方面建模的通用元模型,我们通过识别两种主要的面向方面编程语言AspectJ和Hyper/J的公共概念和关系得出了这个模型。本文介绍了这个元模型以及分别针对AspectJ和Hyper/J的两个元模型。本文还提出了从作为一般元模型实例的一般模型到特定元模型实例的转换规则。我们用GoF策略模式来说明这种方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信