Jul 03 2008

Spring Annotation 继承

Category: 技术ssmax @ 18:28:07

今天搞了一天。。。tnnd。。。

Annotation开关不能从父容器传到子容器。。需要在子容器里面手动打开

 <bean
  class=”org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator” />

或者

<aop:aspectj-autoproxy/>

郁闷得很。。。就这句东西搞了一天,用框架什么都是黑盒,文档也不清不楚的。。。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.