摘要
面向方面编程(Aspect-Oriented Programming,AOP)提供一种描述和实现横切关注点的机制,UML的扩展机制提供增加新构造块、创建新特性和详述新语义的机制。讨论一种基于AOP和UML的对用例的扩展关系建模的方法,该方法使用标准的UML建模横切的关注点来表达方面,最后通过实际例子实现这种方法的应用,并用AOP技术实现用例的扩展关系。
Aspect-oriented programming offers a kind of mechanism of picturing and retaliating crosscutting concerns. UML profile captures a vocabulary commonly used across a domain or platform and allow that vocabulary to be applied to your model's elements to make them more meaningful. So this paper focuses on the use-case extend relationship modeling method based on AOP and UML. The standard UML modeling is used to model the crosscutting concerns and represent the aspects. An case was given as a sample and the use-case extend relationship was realized by using AOP technology.
出处
《黑龙江工程学院学报》
CAS
2009年第1期50-53,共4页
Journal of Heilongjiang Institute of Technology
关键词
面向方面编程
UML
用例
扩展关系
aspect-oriented programming
Unified Modeling Language
use-case
extend relationship