aop:config pointcut

<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="get*" propagation="SUPPORTS" isolation="READ_COMMITTED" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>

<aop:config>                                                   
<aop:advisor advice-ref="txAdvice" pointcut="execution(* com.company.app.*.service.I*Service.*(..))"/>
</aop:config>

你可能感兴趣的:(AOP)