Example usage for org.springframework.transaction.config JtaTransactionManagerFactoryBean getObject

List of usage examples for org.springframework.transaction.config JtaTransactionManagerFactoryBean getObject

Introduction

In this page you can find the example usage for org.springframework.transaction.config JtaTransactionManagerFactoryBean getObject.

Prototype

@Override
    @Nullable
    public JtaTransactionManager getObject() 

Source Link

Usage

From source file:ru.anr.base.dao.BaseJTADaoConfig.java

/**
 * {@inheritDoc}//from w w w. j  a v  a2 s.c o m
 */
@Override
@Bean(name = "transactionManager")
public PlatformTransactionManager transactionManager() {

    JtaTransactionManagerFactoryBean factory = new JtaTransactionManagerFactoryBean();
    return factory.getObject();
}