|
计算机科学 2005
Aspect-Oriented Modeling Method Based on UML
|
Abstract:
Aspect-oriented programming technology implements the software system using crosscutting. Aspect-orientation can be modeled by extending UML, and designed the AOSD model profile in the met, a-model. The profile models aspects from the structural model, behavioral model, aspects weaving and code generation. UML class diagrams realize the aspect structures, and the static relationships between aspects and core components or other aspects. The collaboration diagrams express the dynamic behaviors. The statecharts refine the behaviors of aspects and core components, and realize the weaving of aspects, so as to enable automatic code generation of aspects. Modeling aspects by UML will fill the gap between AOP and OOP. It improves the software modularization, and makes the code more reusable and maintainable.