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 TransactionManager
SystemException
public void setTransactionTimeout(int seconds) throws SystemException
setTransactionTimeout
in interface TransactionManager
SystemException
public void setRollbackOnly() throws IllegalStateException, SystemException
setRollbackOnly
in interface TransactionManager
IllegalStateException
SystemException
public void rollback() throws IllegalStateException, SecurityException, SystemException
rollback
in interface TransactionManager
IllegalStateException
SecurityException
SystemException
public void resume(Transaction tobj) throws IllegalStateException, InvalidTransactionException, SystemException
resume
in interface TransactionManager
IllegalStateException
InvalidTransactionException
SystemException
public int getStatus() throws SystemException
getStatus
in interface TransactionManager
SystemException
public void commit() throws HeuristicMixedException, HeuristicRollbackException, IllegalStateException, RollbackException, SecurityException, SystemException
commit
in interface TransactionManager
HeuristicMixedException
HeuristicRollbackException
IllegalStateException
RollbackException
SecurityException
SystemException
public void begin() throws SystemException
begin
in interface TransactionManager
SystemException
public void recoveryError(Exception e)
recoveryError
in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManager
public void registerNamedXAResourceFactory(org.apache.geronimo.transaction.manager.NamedXAResourceFactory factory)
registerNamedXAResourceFactory
in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManager
public void unregisterNamedXAResourceFactory(String factory)
unregisterNamedXAResourceFactory
in interface org.apache.geronimo.transaction.manager.RecoverableTransactionManager
public Transaction getTransaction() throws SystemException
getTransaction
in interface TransactionManager
SystemException
Copyright © 2015 Nuxeo SA. All rights reserved.