<bean id="txProxyTemplate" abstract="true"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="transactionManager" ref="transactionManager"/>
<property name="transactionAttributes">
<props>
<prop key="set*">PROPAGATION_REQUIRED</prop>
<prop key="save*">PROPAGATION_REQUIRED</prop>
<prop key="update*">PROPAGATION_REQUIRED</prop>
<prop key="remove*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED,readOnly</prop>
</props>
</property>
</bean>
<bean id="departmentLibManager" parent="txProxyTemplate">
<property name="target">
<bean class="com.ideal.iim.service.impl.DepartmentLibManagerImpl">
<property name="departmentLibDAO" ref="departmentLibDAO"/>
<property name="groupHandler" ref="groupHandler"/>
<property name="sessionFactory" ref="sessionFactory"/>
</bean>
</property>
</bean>
评论排行榜