摘要: 介绍一种基于Mediator模式的角色实现方法及其原型实现(Rava)。讨论了角色和面向方面程序设计(Aspect-Oriented Programming, AOP)中Aspect的异同点以及使用Rava实现动态AOP的方法,从而在实现层统一了角色和Aspect两个概念。
关键词:
Mediator模式,
角色,
Aspect
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模式的角色实现方法[J]. 计算机工程, 2006, 32(18): 48-49,9.
HE Chengwan; HE Keqing; TU Wenjie. Approach to Role Implementation Based on Mediator Pattern[J]. Computer Engineering, 2006, 32(18): 48-49,9.