Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2006, Vol. 32 ›› Issue (18): 48-49,9. doi: 10.3969/j.issn.1000-3428.2006.18.017

• Software Technology and Database • Previous Articles     Next Articles

Approach to Role Implementation Based on Mediator Pattern

HE Chengwan1,2,3, HE Keqing1, TU Wenjie3   

  1. (1. State Key Laboratory of Software Engineering, Wuhan University, Wuhan 430072; 2. School of Electronic Information, Wuhan University, Wuhan 430072; 3. School of Computer Science and Engineering, Wuhan Institute of Technology, Wuhan 430073)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-09-20 Published:2006-09-20

一种基于Mediator模式的角色实现方法

何成万1,2,3,何克清1,涂文婕3   

  1. (1. 武汉大学软件工程国家重点实验室,武汉 430072;2. 武汉大学电子信息学院,武汉 430072; 3. 武汉工程大学计算机科学与工程学院,武汉 430073)

Abstract: An approach to role implementation based on Mediator pattern is introduced, and a prototypical implementation (called Rava) of the approach is also presented. The paper discusses the similarities and differences between role and Aspect concept in AOP, and implementation method of dynamic AOP with Rava. Consequently, the two concepts of role and Aspect are unified in implementation level.

Key words: Mediator pattern, Role, Aspect

摘要: 介绍一种基于Mediator模式的角色实现方法及其原型实现(Rava)。讨论了角色和面向方面程序设计(Aspect-Oriented Programming, AOP)中Aspect的异同点以及使用Rava实现动态AOP的方法,从而在实现层统一了角色和Aspect两个概念。

关键词: Mediator模式, 角色, Aspect

CLC Number: