public static class NuxeoContainer.TransactionManagerWrapper extends Object implements org.apache.geronimo.transaction.manager.RecoverableTransactionManager
| Modifier and Type | Field and Description |
|---|---|
protected TransactionManager |
tm |
| Constructor and Description |
|---|
TransactionManagerWrapper(TransactionManager tm) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
Transaction |
getTransaction() |
void |
recoveryError(Exception e) |
void |
registerNamedXAResourceFactory(org.apache.geronimo.transaction.manager.NamedXAResourceFactory factory) |
void |
resume(Transaction tobj) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
Transaction |
suspend() |
void |
unregisterNamedXAResourceFactory(String factory) |
protected TransactionManager tm
public 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 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 registerNamedXAResourceFactory(org.apache.geronimo.transaction.manager.NamedXAResourceFactory factory)
registerNamedXAResourceFactory in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManagerpublic void unregisterNamedXAResourceFactory(String factory)
unregisterNamedXAResourceFactory in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManagerpublic Transaction getTransaction() throws SystemException
getTransaction in interface TransactionManagerSystemExceptionCopyright © 2019 Nuxeo. All rights reserved.