public class SimpleJtaTransactionManagerImpl extends Object implements TransactionManager
| Constructor and Description |
|---|
SimpleJtaTransactionManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
SimpleJtaTransactionImpl |
getCurrentTransaction() |
static SimpleJtaTransactionManagerImpl |
getInstance() |
int |
getStatus() |
Transaction |
getTransaction() |
void |
resume(Transaction transaction) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int i) |
Transaction |
suspend() |
public static SimpleJtaTransactionManagerImpl getInstance()
public int getStatus()
throws SystemException
getStatus in interface TransactionManagerSystemExceptionpublic Transaction getTransaction() throws SystemException
getTransaction in interface TransactionManagerSystemExceptionpublic SimpleJtaTransactionImpl getCurrentTransaction()
public void begin()
throws NotSupportedException,
SystemException
begin in interface TransactionManagerNotSupportedExceptionSystemExceptionpublic Transaction suspend() throws SystemException
suspend in interface TransactionManagerSystemExceptionpublic void resume(Transaction transaction) throws InvalidTransactionException, IllegalStateException, SystemException
resume in interface TransactionManagerInvalidTransactionExceptionIllegalStateExceptionSystemExceptionpublic void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
commit in interface TransactionManagerRollbackExceptionHeuristicMixedExceptionHeuristicRollbackExceptionSecurityExceptionIllegalStateExceptionSystemExceptionpublic void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface TransactionManagerIllegalStateExceptionSecurityExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionManagerIllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int i)
throws SystemException
setTransactionTimeout in interface TransactionManagerSystemExceptionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved