public class SpringJtaPlatform
extends org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
AbstractJtaPlatform
implementation that simply resolves the
JTA UserTransaction
and TransactionManager
from the Spring-configured
JtaTransactionManager
implementation.Constructor and Description |
---|
SpringJtaPlatform(JtaTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasTransactionManager() |
protected TransactionManager |
locateTransactionManager() |
protected UserTransaction |
locateUserTransaction() |
canCacheTransactionManager, canCacheTransactionManagerByDefault, canCacheUserTransaction, canCacheUserTransactionByDefault, canRegisterSynchronization, configure, getCurrentStatus, getSynchronizationStrategy, getTransactionIdentifier, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
public SpringJtaPlatform(JtaTransactionManager transactionManager)
protected boolean hasTransactionManager()
protected TransactionManager locateTransactionManager()
locateTransactionManager
in class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
protected UserTransaction locateUserTransaction()
locateUserTransaction
in class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.