public class ExtensionTransaction extends AbstractSingleResourceTransaction
committed, key, resource, rollbackOnly, rolledBack, started, txStatusMappingscomponentLocation, id, muleContext, 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(MuleContext muleContext) |
| 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, setTimeout, suspend, unbindTransactionpublic ExtensionTransaction(MuleContext muleContext)
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–2019 MuleSoft, Inc.. All rights reserved.