Information hiding interfaces for aspect-oriented design
Authors:
Open Access
- 1 September 2005
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGSOFT Software Engineering Notes
- Vol. 30 (5) , 166-175
Abstract
The growing popularity of aspect-oriented languages, such as AspectJ, and of corresponding design approaches, makes it important to learn how best to modularize programs in which aspect-oriented composition mechanisms are used. We contribute an approach to information hiding modularity in programs that use quantified advising as a module composition mechanism. Our approach rests on a new kind of interface: one that abstracts a crosscutting behavior, decouples the design of code that advises such a behavior from the design of the code to be advised, and that can stipulate behavioral contracts. Our interfaces establish design rules that govern how specific points in program execution are exposed through a given join point model and how conforming code on either side should behave. In a case study of the HyperCast overlay network middleware system, including a real options analysis, we compare the widely cited oblivious design approach with our own, showing significant weaknesses in the former and benefits in the latter.Keywords
This publication has 12 references indexed in Scilit:
- Aspect language features for concern coverage profiling2005
- An analysis of modularity in aspect oriented design2005
- Classpects2005
- Aspect-oriented programming and modular reasoning2005
- Open Modules: Modular Reasoning About AdviceLecture Notes in Computer Science, 2005
- Application-layer multicasting with Delaunay triangulation overlaysIEEE Journal on Selected Areas in Communications, 2002
- Aspect-oriented programmingCommunications of the ACM, 2001
- The structure and value of modularity in software designACM SIGSOFT Software Engineering Notes, 2001
- The design structure system: A method for managing the design of complex systemsIEEE Transactions on Engineering Management, 1981
- On the criteria to be used in decomposing systems into modulesCommunications of the ACM, 1972