Example usage for org.springframework.jca.support LocalConnectionFactoryBean setManagedConnectionFactory

List of usage examples for org.springframework.jca.support LocalConnectionFactoryBean setManagedConnectionFactory

Introduction

In this page you can find the example usage for org.springframework.jca.support LocalConnectionFactoryBean setManagedConnectionFactory.

Prototype

public void setManagedConnectionFactory(ManagedConnectionFactory managedConnectionFactory) 

Source Link

Document

Set the JCA ManagerConnectionFactory that should be used to create the desired connection factory.

Usage

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

@Bean
public LocalConnectionFactoryBean tuxedoConnectionFactoryBean() {
    LocalConnectionFactoryBean lcfb = new LocalConnectionFactoryBean();
    lcfb.setManagedConnectionFactory(tuxedoManagedConnectionFactory());

    return lcfb;// w w w  .  j  a va  2s. c o  m
}