Chapter 2. Spring AOP Components
This chapter gives an overview of Spring AOP and its components.
A brief outline of the topics covered in this chapter is as follows:
Spring AOP foundations
Spring AOP components
Spring AOP classic XML configuration, inherited from 1.x versions
Aspect
An Aspect represents the functional unit of aspect-oriented programming.
From version 1.x, an aspect was realized as a class that implemented the advisor interface. An advisor is a class that combines advice and pointcuts, as we will see in Chapter 3.
Since version 2.x, with the annotations of AspectJ, an aspect is a Java class with the @Aspect
annotation.
Pointcut
A pointcut is an expression for the selection of joinpoints. It can be a collection of joinpoints used to define ...
Get Spring 2.5 Aspect-Oriented Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.