|
eXo Kernel :: Component :: Common Service 2.4.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransactionService
Created by The eXo Platform SAS.
The transaction service
| Method Summary | |
|---|---|
boolean |
delistResource(XAResource xares)
Delists XA resource from transaction manager. |
boolean |
enlistResource(XAResource xares)
Enlists XA resource in transaction manager. |
int |
getDefaultTimeout()
|
TransactionManager |
getTransactionManager()
|
UserTransaction |
getUserTransaction()
|
void |
setTransactionTimeout(int seconds)
Sets timeout in seconds, |
| Method Detail |
|---|
TransactionManager getTransactionManager()
UserTransaction getUserTransaction()
int getDefaultTimeout()
void setTransactionTimeout(int seconds)
throws SystemException
seconds - int
SystemException
boolean enlistResource(XAResource xares)
throws RollbackException,
SystemException,
IllegalStateException
xares - XAResource
RollbackException - Thrown to indicate that
the transaction has been marked for rollback only.
IllegalStateException - Thrown if the transaction in the
target object is in the prepared state or the transaction is
inactive.
SystemException - Thrown if the transaction manager
encounters an unexpected error condition.
boolean delistResource(XAResource xares)
throws RollbackException,
SystemException,
IllegalStateException
xares - XAResource
IllegalStateException - Thrown if the transaction in the
target object is inactive.
SystemException - Thrown if the transaction manager
encounters an unexpected error condition.
RollbackException
|
eXo Kernel :: Component :: Common Service 2.4.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||