Download presentation
Presentation is loading. Please wait.
Published byKristin Gibson Modified over 6 years ago
1
Jing Zhang Thomas Cottenier Aswin van den Berg Jeff Gray
Aspect Interference and Composition in the Motorola Aspect-Oriented Modeling Weaver Jing Zhang Thomas Cottenier Aswin van den Berg Jeff Gray University of Alabama at Birmingham
2
Motorola WEAVR A Profile for modeling Aspects in UML 2.0
Pointcut Composition
5
X, … Q, R, S, Y (N, j) (M, i) D
6
X, … Q, R, S, T, U, V, W, …, Z (N, i) (M, i) (O, j) D D2
7
X, … Q,R, S, Y Tu (N, j) Ts (A, i) Ts’ X, … Q,R, S Q, R, S Y
8
Motorola WEAVR Aspect deployment entities
9
Motorola WEAVR An Agent for visualizing Joinpoints and Analyze Joinpoint Effects
10
Motorola WEAVR
11
Figure 4. Aspect composition.
package1 <- Aspect1,Aspect2,Aspect3,Aspect4 ALL – package1 <- Aspect3,Aspect4
12
Aspect3 is hidden by Aspect2:
Aspect3 will be inactivated when both Aspect2 and Aspect3 match at the same join point Aspect2 => ¬Aspect3 Aspect4 is dependent on Aspect3: the presence of Aspect4 implies that Aspect3 has to be present at the same join point as well Aspect4 => Aspect3
13
Aspect Interference and Composition in WEAVR Conclusions
Contribution: approach that allows precedence relationships to be specified at the modeling level to prevent undesirable interferences between aspects Also: - Composition of Transition Pointcuts maintains properties - Transition Pointcut Designators make sense
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.