skip to main content
10.1145/1507504.1507506acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

Predicate dispatch for aspect-oriented programming

Published:21 October 2008Publication History

ABSTRACT

Developing a machine model natively supporting aspect-oriented programming (AOP) is fruitful not only for implementing interpreters and compilers for AOP languages but also for understanding the essence of the AOP paradigm. This position paper shows a machine model based on open classes and predicate dispatch and it briefly describes a list of predicates that are necessary for modeling AspectJ. This machine model is useful for comparing AOP and object-oriented programming (OOP) on a side-by-side basis. Our initial observation is that AOP is a natural extension to OOP with respect to language constructs.

References

  1. Bockisch, C., M. Haupt, and M. Mezini, "Dynamic Virtual Join Point Dispatch." Workshop on Software Engineering Properties of Languages and Aspect Technologies (SPLAT '06), 2006.Google ScholarGoogle Scholar
  2. Bockisch, C., M. Haupt, M. Mezini, and K. Ostermann, "Virtual machine support for dynamic join points," in Proc. of Int'l Conf. on Aspect-Oriented Software Development (AOSD 2004), pp. 83--92, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Clifton, C., G. T. Leavens, C. Chambers, and T. Millstein, "MultiJava: modular open classes and symmetric multiple dispatch for Java," in Proc. of ACM Conf. on Object-Oriented Programming Systems, Languages, and Applications, pp. 130--145, ACM Press, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Ernst, M., C. Kaplan, and C. Chambers, "Predicate Dispatching: A Unified Theory of Dispatch," in ECCOP '98: Proc. of the 12th European Conference on Object-Oriented Programming, pp. 186--211, Springer-Verlag, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Haupt, M. and H. Schippers, "A Machine Model for Aspect-Oriented Programming," in ECOOP 2007 -- Object-Oriented Programming, vol. 4609 of LNCS, pp. 501--524, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Millstein, T., "Practical predicate dispatch," in Proc. of ACM Conf. on Object-Oriented Programming Systems, Languages, and Applications, pp. 345--364, ACM, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Orleans, D., "Separating behavioral concerns with predicate dispatch, or, if statement considered harmful," in Workshop on Advanced Separation of Concerns in Object-Oriented Systems at OOPSLA '01, 2001.Google ScholarGoogle Scholar
  8. Ossher, H. and P. Tarr, "Hyper/J: multi-dimensional separation of concerns for Java," in Proc. of the Int'l Conf. on Software Engineering (ICSE), pp. 734--737, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Warth, A., M. Stanojević, and T. Millstein, "Statically scoped object adaptation with expanders," in Proc. of ACM Conf. on Object-Oriented Programming Systems, Languages, and Applications, pp. 37--56, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Predicate dispatch for aspect-oriented programming

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          VMIL '08: Proceedings of the 2nd Workshop on Virtual Machines and Intermediate Languages for emerging modularization mechanisms
          October 2008
          41 pages
          ISBN:9781605583846
          DOI:10.1145/1507504

          Copyright © 2008 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 21 October 2008

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate4of4submissions,100%

          Upcoming Conference

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader