basis of crosscutting - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

basis of crosscutting

Description:

a join point model (JPM) has 3 critical elements. what are the join points. in AspectJ ... Traversal Spec JPM: In Demeter we use traversal specifications and the class ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 7
Provided by: pow41
Learn more at: https://www2.ccs.neu.edu
Category:

less

Transcript and Presenter's Notes

Title: basis of crosscutting


1
basis of crosscutting
  • a join point model (JPM) has 3 critical elements
  • what are the join points
  • in AspectJ
  • points in runtime call graph
  • class members
  • means of identifying join points
  • in AspectJ
  • signatures (plus )
  • means of specifying semantics at join points
  • in AspectJ
  • advice
  • define members

2
basis of crosscutting
  • a join point model (JPM) has 3 critical elements
  • what are the join points
  • in AspectJ
  • points in runtime call graph
  • class members
  • means of identifying join points
  • in AspectJ
  • pointcuts
  • member signatures (plus )
  • means of specifying semantics at join points
  • in AspectJ
  • advice
  • define members

dynamic JPMstatic JPM
3
range of AOP languages
See next slide for changes to AspectJ and Demeter
4
range of AOP languages
5
Composing join point models
  • Traversal Spec JPM In Demeter we use traversal
    specifications and the class graph to introduce
    traversal methods to a set of classes.
  • Visitor JPM The result of Traversal Spec. JPM is
    used to define a second JPM
  • The traversal methods define nodes and edge
    visits.
  • Visitor signatures define the nodes and edges
    where additional advice is needed they are the
    means of identifying join points.
  • The means of specifying semantics at join points
    are the visitor bodies.

6
AO design in UML
Clarke, Walker
  • foo
  • dynamic JPM ( AspectJ)
  • what happens in pattern
  • bar
  • Composition Patterns
  • static JPM ( Hyper/J)
  • binds pattern to base code
  • UML class interaction diagrams already crosscut
  • by-class vs. by-interaction organizations
Write a Comment
User Comments (0)
About PowerShow.com