Avoiding infinite recursion with stratified aspects
Abstract
Infinite recursion is a known problem of aspect-oriented programming with AspectJ: if no special precautions are taken, aspects advising aspects can easily and unintentionally advise themselves. We present a compiler for an extension of the AspectJ programming language that avoids self reference by associating aspects with levels, and by automatically restricting the scope of pointcuts used by an aspect to join points of lower levels. We report on a case study using our language extension, and provide numbers of the changes necessary for migrating existing applications to it. Our results suggest that we can make programming with AspectJ simpler and safer, without restricting its expressive power unduly.
- Citation
- BibTeX
Bodden, E., Forster, F. & Steimann, F.,
(2006).
Avoiding infinite recursion with stratified aspects.
In:
Hirschfeld, R., Polze, A. & Kowalczyk, R.
(Hrsg.),
NODe 2006 – GSEM 2006.
Bonn:
Gesellschaft für Informatik e.V..
(S. 49-64).
@inproceedings{mci/Bodden2006,
author = {Bodden, Eric AND Forster, Florian AND Steimann, Friedrich},
title = {Avoiding infinite recursion with stratified aspects},
booktitle = {NODe 2006 – GSEM 2006},
year = {2006},
editor = {Hirschfeld, Robert AND Polze, Andreas AND Kowalczyk, Ryszard} ,
pages = { 49-64 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Bodden, Eric AND Forster, Florian AND Steimann, Friedrich},
title = {Avoiding infinite recursion with stratified aspects},
booktitle = {NODe 2006 – GSEM 2006},
year = {2006},
editor = {Hirschfeld, Robert AND Polze, Andreas AND Kowalczyk, Ryszard} ,
pages = { 49-64 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
Dateien | Groesse | Format | Anzeige | |
---|---|---|---|---|
GI-Proceedings-88-4.pdf | 278.8Kb | View/ |
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Send Feedback
More Info
ISBN: 978-3-88579-182-9
ISSN: 1617-5468
xmlui.MetaDataDisplay.field.date: 2006
Language: (en)
Content Type: Text/Conference Paper