上QQ阅读APP看书,第一时间看更新
Creating aspects
As I said earlier, aspects is one of the most important terms in the AOP. Aspect merges the pointcuts and advices in the application. Let's see how to define aspect in the application.
You've already defined the TransferService interface as the subject of your aspect's pointcuts. Now let's use AspectJ annotations to create an aspect.