public abstract class AbstractXAResourceManager<T extends AbstractXaTransactionContext> extends AbstractResourceManager
Modifier and Type | Field and Description |
---|---|
protected Map<Xid,T> |
activeContexts |
protected Map<Xid,T> |
suspendedContexts |
DEFAULT_COMMIT_TIMEOUT_FACTOR, DEFAULT_TIMEOUT_MSECS, defaultTimeout, dirty, globalTransactions, logger, OPERATION_MODE_RECOVERING, OPERATION_MODE_STARTED, OPERATION_MODE_STARTING, OPERATION_MODE_STOPPED, OPERATION_MODE_STOPPING, operationMode, SHUTDOWN_MODE_KILL, SHUTDOWN_MODE_NORMAL, SHUTDOWN_MODE_ROLLBACK
Constructor and Description |
---|
AbstractXAResourceManager() |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
doPrepare(T context) |
protected T |
getTransactionalResource(Xid xid) |
int |
prepareTransaction(T context) |
assureReady, assureStarted, beginTransaction, commitTransaction, doBegin, doCommit, doRollback, doStart, getDefaultTransactionTimeout, recover, rollbackTransaction, setDefaultTransactionTimeout, setDirty, setTransactionRollbackOnly, shutdown, start, stop, stop, stop, waitForAllTxToStop
protected Map<Xid,T extends AbstractXaTransactionContext> suspendedContexts
protected Map<Xid,T extends AbstractXaTransactionContext> activeContexts
public int prepareTransaction(T context) throws ResourceManagerException
ResourceManagerException
protected abstract int doPrepare(T context) throws ResourceManagerException
ResourceManagerException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.