Class GlueDataSourceTransactionManager

All Implemented Interfaces:
GlueTransactionManager, Serializable, InitializingBean, ConfigurableTransactionManager, PlatformTransactionManager, ResourceTransactionManager, TransactionManager
Direct Known Subclasses:
GlueLazyDataSourceTransactionManager

public class GlueDataSourceTransactionManager extends DataSourceTransactionManager implements GlueTransactionManager
Data Source의 트랜잭션을 관리하는 Manager 클래스이다. 내부적으로 Spring Framework에서 제공하는 DataSourceTransactionManager를 상속받는다.
 Bean Property

 - dataSource : (필수)

 - transactionDefinition : (선택)



 예제
 
 사용 예# 1

     <bean id="tx" class="com.poscoict.glueframework.transaction.GlueDataSourceTransactionManager">
         <property name="dataSource" ref="dataSource"/>
     </bean>


 사용 예# 2
 - Transaction Definition 추가
     <bean id="tx" class="com.poscoict.glueframework.transaction.GlueDataSourceTransactionManager">
         <property name="dataSource" ref="dataSource"/>
         <property name="transactionDefinition" ref="txDef"/>
     </bean>
     <!-- Transaction Definition -->
     <bean id="txDef" class="com.poscoict.glueframework.transaction.GlueDefaultTransactionDefinition">
          <property name="isolationLevelName" value="ISOLATION_DEFAULT"/>
          <property name="propagationBehaviorName" value="PROPAGATION_REQUIRES_NEW"/>
          <property name="readOnly" value="false"/>
          <property name="timeout" value="100"/>
     </bean>
 
See Also: