public class TestXaTransactionalConnection extends Object implements TestTransactionalConnection, org.mule.runtime.extension.api.connectivity.XATransactionalConnection
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
close() |
void |
commit() |
void |
disconnect() |
double |
getConnectionId() |
XAResource |
getXAResource() |
boolean |
isConnected() |
boolean |
isTransactionBegun() |
boolean |
isTransactionCommited() |
boolean |
isTransactionRolledback() |
void |
rollback() |
public void begin()
throws org.mule.runtime.api.tx.TransactionException
begin in interface org.mule.runtime.extension.api.tx.Transactionalorg.mule.runtime.api.tx.TransactionExceptionpublic void commit()
throws org.mule.runtime.api.tx.TransactionException
commit in interface org.mule.runtime.extension.api.tx.Transactionalorg.mule.runtime.api.tx.TransactionExceptionpublic void rollback()
throws org.mule.runtime.api.tx.TransactionException
rollback in interface org.mule.runtime.extension.api.tx.Transactionalorg.mule.runtime.api.tx.TransactionExceptionpublic XAResource getXAResource()
getXAResource in interface org.mule.runtime.extension.api.connectivity.XATransactionalConnectionpublic void close()
close in interface org.mule.runtime.extension.api.connectivity.XATransactionalConnectionpublic double getConnectionId()
getConnectionId in interface TestTransactionalConnectionpublic boolean isTransactionBegun()
isTransactionBegun in interface TestTransactionalConnectionpublic boolean isTransactionCommited()
isTransactionCommited in interface TestTransactionalConnectionpublic boolean isTransactionRolledback()
isTransactionRolledback in interface TestTransactionalConnectionpublic void disconnect()
disconnect in interface TestTransactionalConnectionpublic boolean isConnected()
isConnected in interface TestTransactionalConnectionCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.