An Overview of AspectJ

  • Gregor Kiczales
  • Erik Hilsdale
  • Jim Hugunin
  • Mik Kersten
  • Jeffrey Palm
  • William G. Griswold
Conference paper

DOI: 10.1007/3-540-45337-7_18

Part of the Lecture Notes in Computer Science book series (LNCS, volume 2072)
Cite this paper as:
Kiczales G., Hilsdale E., Hugunin J., Kersten M., Palm J., Griswold W.G. (2001) An Overview of AspectJ. In: Knudsen J.L. (eds) ECOOP 2001 — Object-Oriented Programming. ECOOP 2001. Lecture Notes in Computer Science, vol 2072. Springer, Berlin, Heidelberg

Abstract

AspectJ is a simple and practical aspect-oriented extension to Java.. With just a few new constructs, AspectJ provides support for modular implementation of a range of crosscutting concerns. In AspectJ’s dynamic join point model, join points are well-defined points in the execution of the program; pointcuts are collections of join points; advice are special method-like constructs that can be attached to pointcuts; and aspects are modular units of crosscutting implementation, comprising pointcuts, advice, and ordinary Java member declarations. AspectJ code is compiled into standard Java bytecode. Simple extensions to existing Java development environments make it possible to browse the crosscutting structure of aspects in the same kind of way as one browses the inheritance structure of classes. Several examples show that AspectJ is powerful, and that programs written using it are easy to understand.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2001

Authors and Affiliations

  • Gregor Kiczales
    • 1
  • Erik Hilsdale
    • 2
  • Jim Hugunin
    • 2
  • Mik Kersten
    • 2
  • Jeffrey Palm
    • 2
  • William G. Griswold
    • 3
  1. 1.Department of Computer ScienceUniversity of British ColumbiaVancouverCanada
  2. 2.Xerox Palo Alto Research CenterUSA La JollaUSA
  3. 3.Department of Computer Science and EngineeringUniversity of CaliforniaSan Diego La JollaUSA

Personalised recommendations