spring声明式事务管理
applicationContext.xml中配置
?
?<!-- 定义事务管理器- 数据源的事务管理对象-->
?
?<bean id="transactionManager"
??????? />
??? </property>
? </bean>
?
<bean id="enginProxy"
??????? />
??? </property>
?
<!--应用的目标bean-->
??? <property name="target">
????? <ref local="engin" />
??? </property>
??? <property name="transactionAttributes">
????? <props>
??????? <prop key="trans*">
??????? PROPAGATION_REQUIRED,-IllegalTransitionException</prop>
??????? <prop key="init*">
??????? PROPAGATION_REQUIRED,-IllegalTransitionException</prop>
????? </props>
??? </property>
? </bean>
?
?
? <bean id="engin"
??????? class="com.nstc.bizflow.core.impl.DefaultEngin"></bean>
?
?
?
?