O'Reilly logo

Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools by Matthew Webster, George Harley, Andy Clement, Adrian Colyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. An Overview of AspectJ

This chapter presents an overview of the AspectJ language, describing the various constructs in AspectJ and how they fit together. We cover the notion of an aspect as a unit of modularity for crosscutting concerns, and then look at the constituent parts of an aspect—pointcuts (and the join point model on which they depend), advice, and inter-type declarations. The chapters that follow provide more detail on each of these concepts.

What Is An Aspect?

So what exactly is an aspect? Like a class, an aspect is a unit of modularity, encapsulation, and abstraction; and although classes and aspects have many similarities, there are also some important differences. Unlike classes, aspects can be used to implement crosscutting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required