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 void
begin()
Call begin on the underlying transaction objectvoid
commit()
Call commit on the underlying transaction objectTransactionStatus
getStatus()
void
markRollbackOnly()
void
rollback()
Call rollback on the underlying transaction objectvoid
setTimeOut(int seconds)
-
-
-
Constructor Detail
-
JtaTransactionAdapterTransactionManagerImpl
public JtaTransactionAdapterTransactionManagerImpl(TransactionManager transactionManager)
-
-
Method Detail
-
begin
public void begin()
Description copied from interface:JtaTransactionAdapter
Call begin on the underlying transaction object- Specified by:
begin
in interfaceJtaTransactionAdapter
-
commit
public void commit()
Description copied from interface:JtaTransactionAdapter
Call commit on the underlying transaction object- Specified by:
commit
in interfaceJtaTransactionAdapter
-
rollback
public void rollback()
Description copied from interface:JtaTransactionAdapter
Call rollback on the underlying transaction object- Specified by:
rollback
in interfaceJtaTransactionAdapter
-
getStatus
public TransactionStatus getStatus()
- Specified by:
getStatus
in interfaceJtaTransactionAdapter
-
markRollbackOnly
public void markRollbackOnly()
- Specified by:
markRollbackOnly
in interfaceJtaTransactionAdapter
-
setTimeOut
public void setTimeOut(int seconds)
- Specified by:
setTimeOut
in interfaceJtaTransactionAdapter
-
-