Advertisement

Aspectboxes: Controlling the Visibility of Aspects

  • Alexandre Bergel
  • Robert Hirschfeld
  • Siobhán Clarke
  • Pascal Costanza
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 10)

Abstract

Aspect composition is still a hot research topic where there is no consensus on how to express where and when aspects have to be composed into a base system. In this paper we present a modular construct for aspects, called aspectboxes, that enables aspects application to be limited to a well defined scope. An aspectbox encapsulates class and aspect definitions. Classes can be imported into an aspectbox defining a base system to which aspects may then be applied. Refinements and instrumentation defined by an aspect are visible only within this particular aspectbox leaving other parts of the system unaffected.

Keywords

Aspect-oriented programming aspect composition scoping change aspects classboxes squeak 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Aracic, I., Gasiunas, V., Mezini, M., Ostermann, K.: An overview of caesarj. Transactions on Aspect-Oriented Software Development 3880, 135–173 (2006)CrossRefGoogle Scholar
  2. 2.
    Baille, G., Garnier, P., Mathieu, H., Pissard-Gibollet, R.: Le cycab de l’inria rhône-alpes. Technical Report RT-0229, INRIA (1999)Google Scholar
  3. 3.
    Bergel, A., Ducasse, S., Nierstrasz, O.: Classbox/J: Controlling the scope of change in Java. In: Proceedings of Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA 2005), pp. 177–189. ACM Press, New York (2005)Google Scholar
  4. 4.
    Brant, J., Foote, B., Johnson, R., Roberts, D.: Wrappers to the Rescue. In: Jul, E. (ed.) ECOOP 1998. LNCS, vol. 1445, pp. 396–417. Springer, Heidelberg (1998)CrossRefGoogle Scholar
  5. 5.
    Brichau, J., Mens, K., Volder, K.D.: Building Composable Aspect-Specific Languages with Logic Metaprogramming. In: Batory, D., Consel, C., Taha, W. (eds.) GPCE 2002. LNCS, vol. 2487. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  6. 6.
    Costanza, P., Hirschfeld, R.: Language constructs for context-oriented programming. In: Proceedings of the Dynamic Languages Symposium 2005 (2005)Google Scholar
  7. 7.
    Douence, R., Fradet, P., Südholt, M.: Composition, reuse and interaction analysis of stateful aspects. In: AOSD 2004: Proceedings of the 3rd international conference on Aspect-oriented software development, pp. 141–150. ACM Press, New York (2004)CrossRefGoogle Scholar
  8. 8.
    Hirschfeld, R.: AspectJ(tm): Aspect-Oriented Programming in Java. In: Aksit, M., Mezini, M., Unland, R. (eds.) NODe 2002. LNCS, vol. 2591, pp. 1–1. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  9. 9.
    Ingalls, D., Kaehler, T., Maloney, J., Wallace, S., Kay, A.: Back to the future: The story of Squeak, A practical Smalltalk written in itself. In: Proceedings OOPSLA 1997, ACM SIGPLAN Notices, pp. 318–326. ACM Press, New York (1997)Google Scholar
  10. 10.
    Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., Griswold, W.G.: An Overview of AspectJ. In: Knudsen, J.L. (ed.) ECOOP 2001. LNCS, vol. 2072, pp. 327–353. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  11. 11.
    Klaeren, H., Pulvermüller, E., Raschid, A., Speck, A.: Aspect Composition Applying the Design by Contract Principle. In: Butler, G., Jarzabek, S. (eds.) GCSE 2000. LNCS, vol. 2177, pp. 57–69. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  12. 12.
    Lopez-Herrejon, R., Batory, D., Lengauer, C.: A disciplined approach to aspect composition. In: PEPM 2006: Proceedings of the 2006 ACM SIGPLAN symposium on Partial evaluation and semantics-based program manipulation, pp. 68–77. ACM Press, New York (2006)CrossRefGoogle Scholar
  13. 13.
    Nagy, I., Bergmans, L., Aksit, M.: Composing aspects at shared join points. In: Hirschfeld, R., Ryszard Kowalczyk, A.P., Weske, M. (eds.) Proceedings of International Conference NetObjectDays, NODe2005, Erfurt, Germany. Lecture Notes in Informatics, vol. P-69, Gesellschaft für Informatik (GI) (2005)Google Scholar
  14. 14.
    Navarro, L.D.B., Südholt, M., Vanderperren, W., Fraine, B.D., Suvée, D.: Explicitly distributed AOP using AWED. In: Proceedings of the 5th Int. ACM Conf. on Aspect-Oriented Software Development (AOSD 2006), ACM Press, New York (2006)Google Scholar
  15. 15.
    Parnas, D.L.: On the criteria to be used in decomposing systems into modules. CACM 15(12), 1053–1058 (1972)Google Scholar
  16. 16.
    Tanter, É.: Aspects of Composition in the Reflex AOP Kernel. In: Löwe, W., Südholt, M. (eds.) SC 2006. LNCS, vol. 4089, pp. 99–114. Springer, Heidelberg (2006)Google Scholar
  17. 17.
    Tanter, É., Gybels, K., Denker, M., Bergel, A.: Context-aware aspects. In: Löwe, W., Südholt, M. (eds.) SC 2006. LNCS, vol. 4089, pp. 229–244. Springer, Heidelberg (2006)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Alexandre Bergel
    • 1
  • Robert Hirschfeld
    • 2
  • Siobhán Clarke
    • 1
  • Pascal Costanza
    • 3
  1. 1.Distributed Systems GroupTrinity College DublinIreland
  2. 2.Hasso-Plattner-InstitutUniversität PotsdamGermany
  3. 3.Programming Technology LabVrije Universiteit BrusselBelgium

Personalised recommendations