public class TestXaTransactionalConnection extends Object implements TestTransactionalConnection, org.mule.runtime.extension.api.connectivity.XATransactionalConnection
| Constructor and Description |
|---|
TestXaTransactionalConnection(DummyXaResource xaResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
close() |
void |
commit() |
void |
disconnect() |
XAResource |
getXAResource() |
boolean |
isConnected() |
boolean |
isTransactionBegun() |
boolean |
isTransactionCommited() |
boolean |
isTransactionRolledback() |
void |
rollback() |
public TestXaTransactionalConnection(DummyXaResource xaResource)
public void begin()
throws Exception
begin in interface org.mule.runtime.extension.api.tx.TransactionalExceptionpublic void commit()
throws Exception
commit in interface org.mule.runtime.extension.api.tx.TransactionalExceptionpublic void rollback()
throws Exception
rollback in interface org.mule.runtime.extension.api.tx.TransactionalExceptionpublic XAResource getXAResource()
getXAResource in interface org.mule.runtime.extension.api.connectivity.XATransactionalConnectionpublic void close()
close in interface org.mule.runtime.extension.api.connectivity.XATransactionalConnectionpublic 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–2017 MuleSoft, Inc.. All rights reserved.