BeanNameAutoProxyCreator 不支持annotation的问题解决方法讨论
有人SpringSource的BBS上提出了问题,但没有人解决
http://forum.springsource.org/showthread.php?t=70355
spring事务配置
<!-- 事务配置 --><bean id="transactionManager" ref="sessionFactory" /></bean><bean id="transationInterceptor" ref="transactionManager" /><property name="transactionAttributes"><props><prop key="save*">PROPAGATION_REQUIRED</prop><prop key="update*">PROPAGATION_REQUIRED</prop><prop key="delete*">PROPAGATION_REQUIRED</prop><prop key="Save*">PROPAGATION_REQUIRED</prop><prop key="merge*">PROPAGATION_REQUIRED</prop><prop key="shield*" >PROPAGATION_REQUIRED</prop></props></property></bean><bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"><property name="beanNames"><value>*ManagerImpl,*Dao,*Service,*ServiceImpl</value></property><property name="interceptorNames"><list><value>transationInterceptor</value></list></property></bean>