|
计算机应用研究 2008
Modeling of aspect-oriented based on extending UML
|
Abstract:
The aspect-oriented programming( AOP) separated crosscutting from system, solved tangling and scattering of code in object-oriented programming( OOP) . But in aspect-oriented modeling, the crosscutting could not be supported. The paper made use of class diagram to set up a whole backbone model based on the unified modeling language ( UML) mete-model, de-signed the relationship of core class, aspect and other crosscutting elements; then made use of profile of UML to set up a new model for pointcuts, advice, aspect, and designed the new relationships of them with aspect, and defined the new semantic. Through The profileo fUML, UML can express the concept and model of aspect-oriented, realize the model visibility and distin-guish ability; the whole backbone model makes the whole structure of aspect-oriented become legible, relationship of core ele-ments become definite, and supplies a whole design platform of aspect-oriented, improves the modularization of software de-sign, code reusable and maintainable.