public class TransactionManagerWrapper
extends java.lang.Object
Constructor and Description |
---|
TransactionManagerWrapper(TransactionManager delegate,
java.lang.String name,
XAResourceWrapper xaResourceWrapper) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
Transaction |
getTransaction() |
void |
resume(Transaction transaction) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int i) |
Transaction |
suspend() |
public TransactionManagerWrapper(TransactionManager delegate, java.lang.String name, XAResourceWrapper xaResourceWrapper)
public void begin() throws NotSupportedException, SystemException
NotSupportedException
SystemException
public void commit() throws HeuristicMixedException, HeuristicRollbackException, java.lang.IllegalStateException, RollbackException, java.lang.SecurityException, SystemException
HeuristicMixedException
HeuristicRollbackException
java.lang.IllegalStateException
RollbackException
java.lang.SecurityException
SystemException
public int getStatus() throws SystemException
SystemException
public Transaction getTransaction() throws SystemException
SystemException
public void resume(Transaction transaction) throws java.lang.IllegalStateException, InvalidTransactionException, SystemException
java.lang.IllegalStateException
InvalidTransactionException
SystemException
public void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, SystemException
java.lang.IllegalStateException
java.lang.SecurityException
SystemException
public void setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
public void setTransactionTimeout(int i) throws SystemException
SystemException
public Transaction suspend() throws SystemException
SystemException