检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张瞩熹[1] 郭长国[1] 苑洪亮[2] 王怀民[2]
机构地区:[1]中国电子设备系统工程公司研究所,北京100039 [2]国防科技大学计算机学院,湖南长沙410073
出 处:《计算机工程与科学》2007年第5期120-122,151,共4页Computer Engineering & Science
基 金:国家973计划资助项目(2005CB321804)
摘 要:在传统的OOP编程中,由于需求空间是N维而实现空间是一维的,导致了软件开发中横切关注点的代码纠缠问题,严重影响了软件的质量。作为OOP的补充,AOP很好地解决了横切关注点带来的问题,提供了核心关注点和横切关注点互相分离的解决方案。本文从具体工程中开发线程监控这一需求所暴露的问题出发,提出了为什么需要AOP编程;然后着重讨论如何通过AOP技术解决这一问题,提出并实现了基于AOP技术的通用线程监控平台。该平台可以在不手工改变系统源代码的情况下通过工具植入系统内部,实现对运行线程信息的监视、对指定线程运行速度的变换和对整个系统运行行为的控制。In traditional OOP programming, as the requirement space is N- dimensional while the implementation space is one-dimensional, this terrible mapping leads to the crosscutting concern code's tangling problem in program development, which seriously affects the quality of software. As the supplement of OOP, AOP successfully solves the problem brought by crosscutting concern. In this paper, from the view of the multithreaded monitor requirements in applications, we implement an AOP-based general thread monitor platform, which can be embedded into applications, but does not need to change the source code. So it can monitor the thread status, and control the run-time behaviors of the whole system.
关 键 词:AOP 面向方面编程 线程监控 AspectC++
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.156