Aspectual collaborations: Combining modules and aspects

Karl Lieberherr, David Lorenz, Johan Ovlinger

نتاج البحث: نشر في مجلةمقالةمراجعة النظراء

ملخص

Complex behavior often resists clean modularization in object-oriented languages. Aspect-oriented programming tackles this problem by providing flexible module boundaries that can span and partition classes. However, in order to achieve this flexibility, valuable modularity mechanisms, such as encapsulation and external composition, are lost. The ability to separately compile or reason about a modular unit is also compromised. We propose that this tradeoff is not necessary and that by expressing aspects as part of our modules, we can restore the lost modular properties while maintaining aspectual features. As a concrete demonstration, we present the main features of Aspectual Collaborations and show how these interact to combine modularity with aspectual behavior. The expressiveness of Aspectual Collaborations, AspectJ and Hyper/J are compared using a challenge problem, allowing us to estimate the effectiveness of the approach.

اللغة الأصليةالإنجليزيّة
الصفحات (من إلى)544-565
عدد الصفحات22
دوريةComputer Journal
مستوى الصوت46
رقم الإصدار5
المعرِّفات الرقمية للأشياء
حالة النشرنُشِر - 1 يناير 2003
منشور خارجيًانعم

ملاحظة ببليوغرافية

Special Issue on AOP and Separation of Crosscutting Concerns

بصمة

أدرس بدقة موضوعات البحث “Aspectual collaborations: Combining modules and aspects'. فهما يشكلان معًا بصمة فريدة.

قم بذكر هذا