Aspects and Polymorphism in AspectJ

Erik Ernst, David H. Lorenz

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

There are two important points of view on inclusion or subtype polymorphism in object-oriented programs, namely polymorphic access and dynamic dispatch. These features are essential for object-oriented programming, and it is worthwhile to consider whether they are supported in aspect-oriented programming (AOP). In AOP, pieces of crosscutting behavior are extracted from the base code and localized in aspects, losing as a result their polymorphic capabilities while introducing new and unexplored issues. In this paper, we explore what kinds of polymorphism AOP languages should support, using AspectJ as the basis for the presentation. The results are not exclusive to AspectJ - aspectual polymorphism may make aspects in any comparable AOSD language more expressive and reusable across programs, while preserving safety.

Original languageEnglish
Title of host publication2nd International Conference on Aspect-Oriented Software Development
PublisherAssociation for Computing Machinery (ACM)
Pages150-157
Number of pages8
ISBN (Print)1581136609, 9781581136609
DOIs
StatePublished - 2003
Externally publishedYes
Event2nd International Conference on Aspect-Oriented Software Development - Boston, MA, United States
Duration: 17 Mar 200321 Mar 2003

Publication series

Name2nd International Conference on Aspect-Oriented Software Development

Conference

Conference2nd International Conference on Aspect-Oriented Software Development
Country/TerritoryUnited States
CityBoston, MA
Period17/03/0321/03/03

Fingerprint

Dive into the research topics of 'Aspects and Polymorphism in AspectJ'. Together they form a unique fingerprint.

Cite this