Chapter 3. Understanding the join point model

This chapter covers

  • The join point model

  • Pointcut details

The join point model is the central concept in AOP, as you've seen in previous chapters. It consists of two parts: join points, the points in the execution of an application; and pointcuts, a mechanism for selecting join points.

AspectJ's pointcut language is sophisticated, expressive, and elegant. It lets you select join points based on structural information such as types, names, arguments, and annotations as well as runtime conditions such as control flow. This allows you to select exactly the join points you need to implement a crosscutting functionality.

In this chapter, you'll learn about the concept of a join point in AOP and discuss the join ...

Get AspectJ in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.