02_04_PCES_ResearchProductsTemplate2.ppt

Download Report

Transcript 02_04_PCES_ResearchProductsTemplate2.ppt

PCES PI Meeting
DAJ: Facilitating AspectJ to Express
Traversal-Related Concerns
Karl Lieberherr
John Sung
Doug Orleans
Mitch Wand
Northeastern University
1
Presentation Outline
• Project Products
– We have developed a tool called DAJ (Demeter AspectJ)
that adds traversals to AspectJ.
– DAJ
• Input: AspectJ program, extended with files containing traversal
specifications.
• Output: Compiled AspectJ program where the traversals have been
added using introductions.
• Research Context Diagram
– DAJ depends on the availability of AspectJ. We use
AspectJ to extend AspectJ but without modifying the
AspectJ compiler !!! This is possible thanks to AspectJ.
2
Presentation Outline (cont)
• OEP Architecture Requirements
– A project that uses Java and uses a complex UML class
diagram in which you program many object collaborations
that encode traversal-related concerns.
• Required OEP Project Products
– We need embedded system source code that uses object
collaborations that encode traversal-related concerns.
3
DAJ Products Context Diagram
Java or AspectJ
Application
AspectJ traversal
specifications
DAJ
DJ and DemeterJ
and AspectJ
AspectJ
AspectJ source
Code for
traversals
Legend
Input File
DAJ
Project
Tool
Generated File
OEP
Demonstrations
4