日期:2014-05-17 浏览次数:20756 次
<!-- 定义了所有事务处理方面的公共属性 -->
<bean id="baseTxProxy" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean" abstract="true" lazy-init="true">
<property name="transactionManager">
<ref local="transactionManager"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="update*">PROPAGATION_REQUIRED</prop>
<prop key="insert*">PROPAGATION_REQUIRED</prop>
<prop key="delete*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
</bean>
<bean id="appo_bs" parent="baseTxProxy">
<property name="target">
<ref local="appo_bs_target"></ref>
</property>
</bean>
<!-- transaction manager, use JtaTransactionManager for global tx -->
<bean id="txManager"