Making aspects natural: events and composition

Christoph Bockisch, Somayeh Malakuti Khah Olun Abadi, Mehmet Aksit, Shmuel Katz

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

    18 Citations (Scopus)

    Abstract

    Language extensions are proposed to make aspects more natural for programmers. The extensions involve two main elements: (1) Completely separating the identification of events and locally accumulating information about them from any possible response to the events, and (2) composing both events and aspects into hierarchies that loosen the connection to code-level methods and field names. The combination of these extensions are shown (in preliminary experiments) to increase modularity, and facilitate using terminology natural for each concern. Extensions to AspectJ and Compose* are shown to illustrate how the concepts can be easily embodied in particular languages. The execution model of ALIA4J is used to present the concepts in a language-independent way, providing a prototype generic implementation of the extensions, that can be used to implement them for both AspectJ and Compose*. The extensions increase the flexibility of aspects, encourage reuse, and allow expressing events and responses to them in terms natural to the concern that an aspect treats.
    Original languageEnglish
    Title of host publicationTenth International Conference on Aspect-Oriented Software Development, AOSD 2011
    Place of PublicationNew York
    PublisherAssociation for Computing Machinery (ACM)
    Pages285-299
    Number of pages15
    ISBN (Print)978-1-4503-0605-8
    DOIs
    Publication statusPublished - Mar 2011
    Event10th International Conference on Aspect-Oriented Software Development, AOSD 2011 - Porto de Galinhas, Brazil
    Duration: 21 Mar 201125 Mar 2011
    Conference number: 10

    Conference

    Conference10th International Conference on Aspect-Oriented Software Development, AOSD 2011
    Abbreviated titleAOSD
    CountryBrazil
    CityPorto de Galinhas
    Period21/03/1125/03/11

    Keywords

    • METIS-279163
    • IR-77803
    • Aspect Oriented Programming
    • EWI-20385
    • aspect and event composition
    • CR-D.3
    • event declarations and detectors

    Fingerprint Dive into the research topics of 'Making aspects natural: events and composition'. Together they form a unique fingerprint.

  • Cite this

    Bockisch, C., Malakuti Khah Olun Abadi, S., Aksit, M., & Katz, S. (2011). Making aspects natural: events and composition. In Tenth International Conference on Aspect-Oriented Software Development, AOSD 2011 (pp. 285-299). New York: Association for Computing Machinery (ACM). https://doi.org/10.1145/1960275.1960312