public class TestLocalTransactionalConnection extends Object implements TestTransactionalConnection
| Constructor and Description |
|---|
TestLocalTransactionalConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
void |
disconnect() |
double |
getConnectionId() |
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 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.