Example usage for org.springframework.jca.cci.connection CciLocalTransactionManager setConnectionFactory

List of usage examples for org.springframework.jca.cci.connection CciLocalTransactionManager setConnectionFactory

Introduction

In this page you can find the example usage for org.springframework.jca.cci.connection CciLocalTransactionManager setConnectionFactory.

Prototype

public void setConnectionFactory(@Nullable ConnectionFactory cf) 

Source Link

Document

Set the CCI ConnectionFactory that this instance should manage local transactions for.

Usage

From source file:com.spring.jca.tuxedo.ApplicationConfig.java

@Bean
public PlatformTransactionManager transactionManager() {
    CciLocalTransactionManager cciTm = new CciLocalTransactionManager();
    cciTm.setConnectionFactory(tuxedoConnectionFactory());

    return cciTm;
}