计算机科学 ›› 2007, Vol. 34 ›› Issue (11): 274-278.

• • 上一篇    下一篇

结合AOP与反射机制动态改变软件的行为

  

  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本课题得到中国博士后科学基金、江苏省博士后科研资助计划资助.

  • Online:2018-11-16 Published:2018-11-16

摘要: 软件系统的运行环境日益复杂,这样的复杂性已经远远超过了人的控制能力。面向对象的程序设计方法会造成关注点不能分离,代码纠缠在一起,使得软件的模块性与复用性大大降低。面向方面的程序设计(Aspect-oftented programming,AOP)可以很好地分离关注点使软件更好地模块化。使用反射机制(Reflection),可以使程序在运行时通过自省(introspection)了解自己的状态,自己调节(intercession)自己(运行时自动修改程序),即动态地获得新的行为的能力。我们结合使用这两种方法

关键词: 面向方面 反射 关注点 动态改变 软件

Abstract: The environment complexity of software continues to increase; it's beyond the ability of human to control it. Object-oriented programming could result in crosscutting concerns and code tangling; it is difficult in modularity and reusability. Aspect-orient

Key words: Aspect-oriented, Reflection, Concerns, Dynamic adaptation, Software

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!