public final class GeronimoUserTransaction extends Object implements UserTransaction, Serializable
| Constructor and Description |
|---|
GeronimoUserTransaction(TransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionManager(TransactionManager transactionManager) |
void |
setTransactionTimeout(int seconds) |
public GeronimoUserTransaction(TransactionManager transactionManager)
public void setTransactionManager(TransactionManager transactionManager)
public int getStatus()
throws SystemException
getStatus in interface UserTransactionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface UserTransactionIllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int seconds)
throws SystemException
setTransactionTimeout in interface UserTransactionSystemExceptionpublic void begin()
throws NotSupportedException,
SystemException
begin in interface UserTransactionNotSupportedExceptionSystemExceptionpublic void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
commit in interface UserTransactionHeuristicMixedExceptionHeuristicRollbackExceptionIllegalStateExceptionRollbackExceptionSecurityExceptionSystemExceptionpublic void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface UserTransactionIllegalStateExceptionSecurityExceptionSystemExceptionCopyright © 2023. All rights reserved.