Aop 中pointcut的设置

<?xml version="1.0" encoding="UTF-8"?>






aop:config
<aop:aspect id=“moocAspectAOP” ref=“moocAspect”>


<aop:pointcut id=“moocPointcut” expression=“execution ( * com.learning.aop.schema.advice.biz.Biz.(…))”/>

<aop:before method=“before” pointcut-ref=“moocPointcut”/>
</aop:aspect>
</aop:config>

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_42664961/article/details/83870596