菜鸟求解 spring aop
<!-- aop配置 -->
<aop:config>
<!-- 配置日志切面 -->
<aop:aspect id="logaop" ref="logAspectJ">
<!-- 定义切入点正则表达式 userManager类下的所有方法-->
<aop:pointcut id="logpointcut" expression="execution(* com.fhh.service.UserManager.*(..))"/>
<aop:before pointcut-ref="logpointcut" method="myBeforeAdvice"/>
<aop:after-returning pointcut-ref="logpointcut" method="myAfterReturningAdvice"/>
<aop:after-throwing pointcut-ref="logpointcut" method="myAfterThrowAdvice" throwing="e"/>
<aop:after pointcut-ref="logpointcut" method="myAfterAdvice"/>
<aop:around pointcut-ref="logpointcut" method="myAroundAdvice"/>
</aop:aspect>
</aop:config>
请问一下这样的配置为什么在执行com.fhh.service包下的UserManager类的任何方法时没有没有执行那些通知啊。
不好意思啊,没有分了。