1 / 13

Aspect Interference and Composition in the Motorola Aspect-Oriented Modeling Weaver

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. Motorola WEAVR A Profile for modeling Aspects in UML 2.0. Pointcut Composition. (M, i). (N, j).

marge
Download Presentation

Aspect Interference and Composition in the Motorola Aspect-Oriented Modeling Weaver

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  3. (M, i) (N, j) D X, … Q, R, S,.. Y

  4. (M, i) (N, i) (O, j) D1 D2 X, … Q, R, S, T, U, V, W, …, Z

  5. (A, i) (N, j) Tu Ts X, … Q,R, S,.. Y (A, i) (N, j) Tu Ts’ Ts X, … Q,R, S Q, R, S Y

  6. Motorola WEAVR Aspect deployment entities

  7. Motorola WEAVR An Agent for visualizing Joinpoints and Analyze Joinpoint Effects

  8. Motorola WEAVR

  9. Figure 4. Aspect composition. . package1 <- Aspect1,Aspect2,Aspect3,Aspect4 ALL – package1 <- Aspect3,Aspect4

  10. 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

  11. Aspect Interference and Composition inWEAVR 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

More Related