Package com.aquima.web.boot
Class AtomikosConfiguration
java.lang.Object
com.aquima.web.boot.AtomikosConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManager
org.springframework.transaction.PlatformTransactionManager
transactionManager
(javax.transaction.TransactionManager atomikosTransactionManager, javax.transaction.UserTransaction userTransaction) javax.transaction.UserTransaction
-
Constructor Details
-
AtomikosConfiguration
public AtomikosConfiguration()
-
-
Method Details
-
userTransaction
@Bean(name="userTransaction") public javax.transaction.UserTransaction userTransaction() throws Throwable- Throws:
Throwable
-
atomikosTransactionManager
@Bean(name="atomikosTransactionManager", initMethod="init", destroyMethod="close") public javax.transaction.TransactionManager atomikosTransactionManager() throws Throwable- Throws:
Throwable
-
transactionManager
@Bean(name="jtaTransactionManager") public org.springframework.transaction.PlatformTransactionManager transactionManager(@Qualifier("atomikosTransactionManager") javax.transaction.TransactionManager atomikosTransactionManager, javax.transaction.UserTransaction userTransaction) throws Throwable - Throws:
Throwable
-