Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, we introduced the core concepts of AOP and then looked at how these concepts translate into the Spring AOP implementation. We discussed the features that are and are not implemented in Spring AOP, and we pointed to AspectJ as an AOP solution for those features that Spring does not implement. We spent some time explaining the details of the advice types available in Spring, and you saw examples of the four types in action. We also looked at how you limit the methods to which an advice applies using pointcuts. In particular, we looked at the six basic pointcut implementations available with Spring. Finally, we covered the details of how the AOP proxies are constructed, the different options, and what makes them different. We....