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

    19 Citations (Scopus)
    7 Downloads (Pure)


    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
    Number of pages15
    ISBN (Print)978-1-4503-0605-8
    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


    Conference10th International Conference on Aspect-Oriented Software Development, AOSD 2011
    Abbreviated titleAOSD
    CityPorto de Galinhas


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


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

    Cite this