期刊文献+

形式化语言B的面向方面编程扩充

Extensions of Formal Language B to Support Aspect-oriented Programming
下载PDF
导出
摘要 借助传统编程语言的面向方面编程扩充――AspectJ/AspectC++的技术经验,提出形式化语言B的AOP扩充机制AspectB。分析了B语言针对AOP扩充在连接点范围及正确性验证方面的制约,提出连接点的范围必须限制在IMPLEMENTATION组件中,方面代码的正确性验证必须考虑连接点上下文所涉及的不变性条件。以一个简单图形编辑器为例,在B语言环境中描述面向方面编程的核心概念——连接点、连接点集合、建议代码、方面。 This paper gives extensions of formal language B aided by the experience of AOP extensions of conventional language AspectJ and AspectC++. Limits of selections of join points in B construct and constraints of verification of system are analyzed. It suggests that the scope of join points should be in IMPLEMENTATION components in B and the verification of aspect code should take the context of join points into consideration. The core concepts of AOP -- join point, pointcut, advice, and aspect -- are described here in the environment of B language.
出处 《计算机工程》 EI CAS CSCD 北大核心 2006年第3期49-51,共3页 Computer Engineering
基金 国家"863"计划基金资助项目(863-301-05-03)
关键词 面向方面编程 B语言 连接点 连接点集合 建议代码 方面 Aspect-oriented programming B-language Join point Pointcut Advice Aspect
  • 相关文献

参考文献10

  • 1Kiczales G,Lamping J,Mendhekar A,et al.Aspect-oriented Programming[C].The 11th Europeen Conf.on Object-oriented Programming,1997:220-242.
  • 2Kiczales G,Hilsdale E,Hugunin J,et al.An Overview of AspectJ[C].European Conference on Object-oriented Programming,Budapest,2001.
  • 3Spinczyk O,Gal A,Schroder-Preikschat W.AspectC++:An Aspect-oriented Extension to C++[C].Proceedings of the 40th International Conference on Technology of Object-oriented Languages and Systems,Sydney,Australia,2002.
  • 4Abrial J R.The B-book-Assigning Programs to Meanings[M].Cambridge University Press,1996.
  • 5B-Core(UK) Ltd,B-Toolkit User's Manual,Release 3.2[Z].Oxford (UK),1996.
  • 6ClearSy.B Language Manual[Z].Thinkage,Ltd.Version 1.8.5.http://www.thinkage.on.ca/expl/b/manu/manu.html.1998.
  • 7Mousavi M,Russello G,Chaudron M,et al.Aspects + GAMMA = AspectGAMMA A Formal Framework for Aspect-oriented Specification 《http://www.cs.wustl.edu/schmidt/PDF/aop_final.pdf》[C].Proceedings of Early Aspects:Aspect-oriented Requirements Engineering and Architecture Design Workshop,Enschede,Netherlands,2002-04.
  • 8Andrews J H.Process-algebraic Foundations of Aspect-oriented Programming[C].Proceedings of the Third International Conference on Metalevel Architectures and Separation of Crosscutting Concerns,Berlin:Springer-Verlag,2001.
  • 9Ho W,Pennaneac'h F,Jezequel J,et al.Aspect-oriented Design with the UML[C].Proc.of Multi-dimensional Separation of Concerns Workshop at ICSE,2000.
  • 10塔维娜,何积丰.基于形式化方法的需求分析[J].计算机工程,2003,29(18):107-108. 被引量:15

二级参考文献6

  • 1陈明.实用软件工程基础[M].北京:清华大学出版社,2002..
  • 2[英]LanoK 鲍涌 刘建元 邹德林译.B语言与方法--实用形式化开发指南[M].北京:高等教育出版社,1998..
  • 3Abrial J R.The B Book:Assignlng Programes to Meaning.Cambridge University Press, 1995.
  • 4Schneider S.The B-method.PALGRAVE,2001.
  • 5Wordsworth J B.Software Engineering with B.Addison-Wesley Longman Limited, 1996.
  • 6[英]LanoK 鲍涌 刘建元 邹德林译.B语言与方法——实用形式化开发指南[M].北京:高等教育出版社,1998..

共引文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部