public class ExtensionTransaction extends AbstractSingleResourceTransaction
committed, key, resource, rollbackOnly, rolledBack, started, txStatusMappingsapplicationName, componentLocation, id, muleContext, notificationFirer, rollbackAfterTimeout, timeoutSTATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLBACK, STATUS_NO_TRANSACTION, STATUS_PREPARED, STATUS_PREPARING, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK, STATUS_UNKNOWN| Constructor and Description |
|---|
ExtensionTransaction(String applicationName,
org.mule.runtime.api.notification.NotificationDispatcher notificationFirer) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindResource(Object key,
Object resource) |
protected void |
doBegin() |
protected void |
doCommit() |
protected void |
doRollback() |
protected Class |
getKeyType() |
Object |
getResource(Object key) |
protected Class |
getResourceType() |
boolean |
hasResource(Object key) |
begin, commit, getStatus, rollback, setRollbackOnly, supports, toStringfireNotification, getComponentLocation, getId, getTimeout, isBegun, isCommitted, isRollbackOnly, isRolledBack, isXA, resume, setComponentLocation, setRollbackIfTimeout, setTimeout, suspend, unbindTransactionpublic ExtensionTransaction(String applicationName, org.mule.runtime.api.notification.NotificationDispatcher notificationFirer)
public void bindResource(Object key, Object resource) throws org.mule.runtime.api.tx.TransactionException
bindResource in interface TransactionbindResource in class AbstractSingleResourceTransactionorg.mule.runtime.api.tx.TransactionExceptionpublic boolean hasResource(Object key)
hasResource in interface TransactionhasResource in class AbstractSingleResourceTransactionpublic Object getResource(Object key)
getResource in interface TransactiongetResource in class AbstractSingleResourceTransactionprotected void doCommit()
throws org.mule.runtime.api.tx.TransactionException
doCommit in class AbstractTransactionorg.mule.runtime.api.tx.TransactionExceptionprotected void doRollback()
throws org.mule.runtime.api.tx.TransactionException
doRollback in class AbstractTransactionorg.mule.runtime.api.tx.TransactionExceptionprotected Class getKeyType()
getKeyType in class AbstractSingleResourceTransactionprotected Class getResourceType()
getResourceType in class AbstractSingleResourceTransactionprotected void doBegin()
throws org.mule.runtime.api.tx.TransactionException
doBegin in class AbstractTransactionorg.mule.runtime.api.tx.TransactionExceptionCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.