|
ABSTRACT
Aspect-oriented programming is a promising approach to address separation of concerns. Aspect-oriented programming languages address the problems of scattering and entanglement by providing an abstraction for specifying cross-cutting concerns in a modular manner. The relevant aspects are then composed to derive the desired implementation. However, current aspect-oriented programming languages only allow this composition to be specified in terms of programming language constructs. This is restrictive and can only be used for simple compositions. Many situations in practice need a richer composition context that cannot be expressed using programming language constructs. Models, being at a higher level of abstraction and closer to the problem domain, can be used to capture this information. We propose an approach to extend aspect-oriented programming with a composition mechanism that can make use of the information captured in models. We also outline an implementation of the proposed approach. The proposed approach has been used to seamlessly integrate model-centric and code-centric development.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Videira Lopes, C., Longtier, J. and Irwin, J. Aspect oriented programming. ECOOP'97 LNCS 1241, pp 220--242. Springer-Verlag. June 1997.
|
| |
2
|
AspectJ-http://www.parc.com/research/projects/aspectj/default.html
|
| |
3
|
Fowler, M. UML Mode (2003). http://martinfowler.com/bliki/UmlMode.html
|
| |
4
|
Unified Modeling Language (UML) -- http://www.omg.org/uml
|
| |
5
|
Meta Object Facility (MOF) -- http://www.omg.org/spec/MOF/2.0/
|
| |
6
|
Object Constraint Language (OCL) -- http://www.omg.org/cgi-bin/doc?ptc/2003-10-14
|
| |
7
|
MOF Query / Views / Transformations (QVT) -- http://www.omg.org/spec/QVT/1.0/
|
| |
8
|
MOF Models to Text Transformation Language (MOFM2T) -- http://www.omg.org/spec/MOFM2T/1.0/
|
| |
9
|
|
| |
10
|
Gybels, K. Using a logic language to express cross-cutting through dynamic joinpoints. Second Workshop on Aspect-Oriented Software Development of the German Information Society. Institut f¨ur Informatik III, Universit¨at Bonn, February 2002. Technical report IAI-TR-2002-1.
|
| |
11
|
Klose, K., and Ostermann, K. Back to the future: Pointcuts as predicates over traces. In Leavens et http://www.cs.iastate.edu/~leavens/FOAL/papers-2005/klose-ostermann.pdf
|
| |
12
|
Eichberg, M., Mezini, M,. and Ostermann, K. Pointcuts as functional queries. In Wei-Ngan Chin, editor, APLAS, volume 3302 of Lecture Notes in Computer Science, pages 366--381. Springer, 2004.
|
 |
13
|
|
| |
14
|
Laddad, R. AOP@Work: AOP and metadata a perfect match -- Part 1 , http://www.ibm.com/developerworks/java/library/j-aopwork3/
|
 |
15
|
|
| |
16
|
Stein, D., Hanenberg, St., Unland, R., Designing Aspect-Oriented Crosscutting in UML, AOSD-UML Workshop at AOSD' 02 ( Enschede, The Netherlands, Apr. 2002)
|
| |
17
|
Cottenier, T., Aswin van den Berg, Elrad T., The Motorola WEAVR: Model Weaving in a Large Industrial Context, Industry Track of Aspect Oriented Software Development'07
|
 |
18
|
|
| |
19
|
|
|