摘要
方面编织是系统关注点编织的实现部分,其优劣关系着面向方面软件系统的执行效率、编织粒度、模块化程度。依据方面化构件组装以及按需计算中间件平台需求,提出一种动态方面编织模型——DA Weaver,该模型利用BCEL修改类文件,通过方面容器反射调用方面组件,支持了编织的动态性。最后,给出该模型的原型系统,并对已编织系统作了性能分析。
In the aspect-oriented programming,aspect weaving is the implementation of weaving system concerns,and the weaving strategy will affect the execution efficiency,weaving granularity and modularity degree of software system.According to the requirements of aspectual component assembling platform and computing on demand middleware platform,this paper proposes a kind of Dynamic Aspect Weaving model--DAWeaver.It uses BCEL to modify class file,calls aspect component reflectively through aspect container,and supports dynamic weaving.In the end,this paper gives a prototype system and analyzes the weaved system's performance.
出处
《计算机工程与应用》
CSCD
北大核心
2008年第7期82-85,共4页
Computer Engineering and Applications
基金
湖南省自然科学基金(the Natural Science Foundation of Hunan Province of China under Grant No.05JJ40132)
中南大学理科发展基金
中南大学博士后科学基金
关键词
BCEL
类修改
动态编织
方面容器
BCEL
class modification
dynamic weaving
aspect container