public static class NuxeoContainer.TransactionManagerWrapper extends Object implements org.apache.geronimo.transaction.manager.RecoverableTransactionManager
| Constructor and Description |
|---|
NuxeoContainer.TransactionManagerWrapper(TransactionManager tm) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
Transaction |
getTransaction() |
void |
recoverResourceManager(org.apache.geronimo.transaction.manager.NamedXAResource xaResource) |
void |
recoveryError(Exception e) |
void |
resume(Transaction tobj) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
Transaction |
suspend() |
public NuxeoContainer.TransactionManagerWrapper(TransactionManager tm)
public Transaction suspend() throws SystemException
suspend in interface TransactionManagerSystemExceptionpublic void setTransactionTimeout(int seconds)
throws SystemException
setTransactionTimeout in interface TransactionManagerSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly in interface TransactionManagerIllegalStateExceptionSystemExceptionpublic void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback in interface TransactionManagerIllegalStateExceptionSecurityExceptionSystemExceptionpublic void resume(Transaction tobj) throws IllegalStateException, InvalidTransactionException, SystemException
resume in interface TransactionManagerIllegalStateExceptionInvalidTransactionExceptionSystemExceptionpublic Transaction getTransaction() throws SystemException
getTransaction in interface TransactionManagerSystemExceptionpublic int getStatus()
throws SystemException
getStatus in interface TransactionManagerSystemExceptionpublic void commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
commit in interface TransactionManagerHeuristicMixedExceptionHeuristicRollbackExceptionIllegalStateExceptionRollbackExceptionSecurityExceptionSystemExceptionpublic void begin()
throws SystemException
begin in interface TransactionManagerSystemExceptionpublic void recoveryError(Exception e)
recoveryError in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManagerpublic void recoverResourceManager(org.apache.geronimo.transaction.manager.NamedXAResource xaResource)
recoverResourceManager in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManagerCopyright © 2011 Nuxeo SA. All Rights Reserved.