public class JtaTransactionAdapterUserTransactionImpl extends Object implements JtaTransactionAdapter
Constructor and Description |
---|
JtaTransactionAdapterUserTransactionImpl(UserTransaction userTransaction) |
Modifier and Type | Method and Description |
---|---|
void |
begin()
Call begin on the underlying transaction object
|
void |
commit()
Call commit on the underlying transaction object
|
TransactionStatus |
getStatus() |
void |
markRollbackOnly() |
void |
rollback()
Call rollback on the underlying transaction object
|
void |
setTimeOut(int seconds) |
public JtaTransactionAdapterUserTransactionImpl(UserTransaction userTransaction)
public void begin()
JtaTransactionAdapter
begin
in interface JtaTransactionAdapter
public void commit()
JtaTransactionAdapter
commit
in interface JtaTransactionAdapter
public void rollback()
JtaTransactionAdapter
rollback
in interface JtaTransactionAdapter
public TransactionStatus getStatus()
getStatus
in interface JtaTransactionAdapter
public void markRollbackOnly()
markRollbackOnly
in interface JtaTransactionAdapter
public void setTimeOut(int seconds)
setTimeOut
in interface JtaTransactionAdapter
Copyright © 2017 JBoss by Red Hat. All rights reserved.