public final class LocalTransactionManager extends Object implements TransactionManager
| Constructor and Description |
|---|
LocalTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
Transaction |
getTransaction() |
void |
resume(Transaction arg) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int arg) |
Transaction |
suspend() |
public void begin()
throws SystemException
begin in interface TransactionManagerSystemExceptionTransactionManager.begin()public void commit()
throws SystemException
commit in interface TransactionManagerSystemExceptionTransactionManager.commit()public int getStatus()
throws SystemException
getStatus in interface TransactionManagerSystemExceptionTransactionManager.getStatus()public Transaction getTransaction() throws SystemException
getTransaction in interface TransactionManagerSystemExceptionTransactionManager.getTransaction()public void resume(Transaction arg) throws SystemException
resume in interface TransactionManagerSystemExceptionTransactionManager.resume(javax.transaction.Transaction)public void rollback()
throws SystemException
rollback in interface TransactionManagerSystemExceptionTransactionManager.rollback()public void setRollbackOnly()
throws SystemException
setRollbackOnly in interface TransactionManagerSystemExceptionTransactionManager.setRollbackOnly()public void setTransactionTimeout(int arg)
throws SystemException
setTransactionTimeout in interface TransactionManagerSystemExceptionTransactionManager.setTransactionTimeout(int)public Transaction suspend() throws SystemException
suspend in interface TransactionManagerSystemExceptionTransactionManager.suspend()Copyright © 2014. All rights reserved.