com.atomikos.icatch.jta.hibernate4
Class AtomikosJ2eePlatform

java.lang.Object
  extended by org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
      extended by com.atomikos.icatch.jta.hibernate4.AtomikosJ2eePlatform
All Implemented Interfaces:
Serializable, org.hibernate.engine.transaction.jta.platform.internal.TransactionManagerAccess, org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform, org.hibernate.service.Service, org.hibernate.service.spi.Configurable, org.hibernate.service.spi.ServiceRegistryAwareService

public class AtomikosJ2eePlatform
extends org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform

Hibernate4 JTA Platform which is using the J2eeTransactionManager and the J2eeUserTransaction. Use this one, if you want to integrate Hibernate4 and Atomikos is used in a J2EE container environment or externally managed via Spring.

Author:
tkrah
See Also:
Serialized Form

Constructor Summary
AtomikosJ2eePlatform()
           
 
Method Summary
protected  TransactionManager locateTransactionManager()
          
protected  UserTransaction locateUserTransaction()
          
 
Methods inherited from class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
canCacheTransactionManager, canCacheTransactionManagerByDefault, canCacheUserTransaction, canCacheUserTransactionByDefault, canRegisterSynchronization, configure, getCurrentStatus, getSynchronizationStrategy, getTransactionIdentifier, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomikosJ2eePlatform

public AtomikosJ2eePlatform()
Method Detail

locateTransactionManager

protected TransactionManager locateTransactionManager()

Specified by:
locateTransactionManager in class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform

locateUserTransaction

protected UserTransaction locateUserTransaction()

Specified by:
locateUserTransaction in class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform


Copyright © 2016. All Rights Reserved.