|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.transactionmanager.LocalTransactionManager
public final class LocalTransactionManager
Default transaction manager when Castor is used in standalone mode, in other words not within a J2EE container.
| Constructor Summary | |
|---|---|
LocalTransactionManager()
|
|
| Method Summary | |
|---|---|
void |
begin()
|
void |
commit()
|
int |
getStatus()
|
Transaction |
getTransaction()
|
void |
resume(Transaction arg)
|
void |
rollback()
|
void |
setRollbackOnly()
|
void |
setTransactionTimeout(int arg)
|
Transaction |
suspend()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalTransactionManager()
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||