Class JtaTransactionAdapterTransactionManagerImpl
- java.lang.Object
-
- org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionAdapterTransactionManagerImpl
-
- All Implemented Interfaces:
JtaTransactionAdapter
public class JtaTransactionAdapterTransactionManagerImpl extends Object implements JtaTransactionAdapter
JtaTransactionAdapter for coordinating with the JTA TransactionManager
-
-
Constructor Summary
Constructors Constructor Description JtaTransactionAdapterTransactionManagerImpl(TransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()Call begin on the underlying transaction objectvoidcommit()Call commit on the underlying transaction objectTransactionStatusgetStatus()voidmarkRollbackOnly()voidrollback()Call rollback on the underlying transaction objectvoidsetTimeOut(int seconds)
-
-
-
Constructor Detail
-
JtaTransactionAdapterTransactionManagerImpl
public JtaTransactionAdapterTransactionManagerImpl(TransactionManager transactionManager)
-
-
Method Detail
-
begin
public void begin()
Description copied from interface:JtaTransactionAdapterCall begin on the underlying transaction object- Specified by:
beginin interfaceJtaTransactionAdapter
-
commit
public void commit()
Description copied from interface:JtaTransactionAdapterCall commit on the underlying transaction object- Specified by:
commitin interfaceJtaTransactionAdapter
-
rollback
public void rollback()
Description copied from interface:JtaTransactionAdapterCall rollback on the underlying transaction object- Specified by:
rollbackin interfaceJtaTransactionAdapter
-
getStatus
public TransactionStatus getStatus()
- Specified by:
getStatusin interfaceJtaTransactionAdapter
-
markRollbackOnly
public void markRollbackOnly()
- Specified by:
markRollbackOnlyin interfaceJtaTransactionAdapter
-
setTimeOut
public void setTimeOut(int seconds)
- Specified by:
setTimeOutin interfaceJtaTransactionAdapter
-
-