<aop:aspect ref="studentAOP">
<!-- method就是我们的增强方法,pointcut-ref指向我们刚刚创建的切点 -->
<aop:after method="afterStudy" pointcut-ref="test"/>
</aop:aspect>
是AOP后续动作之一,设定为在原方法执行完毕后执行AOP方法。
<aop:aspect ref="studentAOP">
<!-- method就是我们的增强方法,pointcut-ref指向我们刚刚创建的切点 -->
<aop:after method="afterStudy" pointcut-ref="test"/>
</aop:aspect>
是AOP后续动作之一,设定为在原方法执行完毕后执行AOP方法。