public class DefaultTransactionHandle extends Object implements org.mule.runtime.extension.api.tx.TransactionHandle
TransactionHandle implementation.
This will execute a transaction action only is the transaction is still alive.
| Constructor and Description |
|---|
DefaultTransactionHandle() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
boolean |
isTransacted() |
void |
resolve() |
void |
rollback() |
public boolean isTransacted()
isTransacted in interface org.mule.sdk.api.tx.TransactionHandlepublic void commit()
throws org.mule.runtime.api.tx.TransactionException
commit in interface org.mule.sdk.api.tx.TransactionHandleorg.mule.runtime.api.tx.TransactionExceptionpublic void rollback()
throws org.mule.runtime.api.tx.TransactionException
rollback in interface org.mule.sdk.api.tx.TransactionHandleorg.mule.runtime.api.tx.TransactionExceptionpublic void resolve()
throws org.mule.runtime.api.tx.TransactionException
resolve in interface org.mule.sdk.api.tx.TransactionHandleorg.mule.runtime.api.tx.TransactionExceptionCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.