com.atomikos.icatch.jta.hibernate4
Class AtomikosPlatform

java.lang.Object
  extended by org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
      extended by com.atomikos.icatch.jta.hibernate4.AtomikosPlatform
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 AtomikosPlatform
extends org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform

Hibernate4 JTA Platform which is using the standard UserTransactionManager and the standard UserTransactionImp object. If you are looking for J2EE container managed transactions or using an external infrastructure like Spring to setup them, use the AtomikosJ2eePlatform to integrate Hibernate4.

Author:
tkrah
See Also:
Serialized Form

Constructor Summary
AtomikosPlatform()
           
 
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

AtomikosPlatform

public AtomikosPlatform()
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.