public class MVCCInvocationContext extends InvocationContext
invocationLocks, transactionContext| Constructor and Description |
|---|
MVCCInvocationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLookedUpNodes()
Clears the registry of looked up nodes.
|
InvocationContext |
copy()
This is a "copy-factory-method" that should be used whenever a clone of this class is needed.
|
Map<Fqn,NodeSPI> |
getLookedUpNodes()
Retrieves a map of nodes looked up within the current invocation's scope.
|
NodeSPI |
lookUpNode(Fqn fqn)
Retrieves a node from the registry of looked up nodes in the current scope.
|
void |
putLookedUpNode(Fqn f,
NodeSPI n)
Puts an entry in the registry of looked up nodes in the current scope.
|
void |
putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
Adds a map of looked up nodes to the current map of looked up nodes
|
void |
reset()
Resets the context, freeing up any references.
|
void |
setTransactionContext(TransactionContext transactionContext)
Sets the transaction context to be associated with the current thread.
|
addAllLocks, addFqnLoaded, addLock, clearLocks, doCopy, equals, getCommand, getFqnsLoaded, getGlobalTransaction, getLockAcquisitionTimeout, getLocks, getMethodCall, getOptionOverrides, getTransaction, getTransactionContext, hashCode, hasLock, isBypassUnmarshalling, isLocalRollbackOnly, isLockingSuppressed, isOptionsUninitialised, isOriginLocal, isValidTransaction, removeLock, setBypassUnmarshalling, setCommand, setFqnsLoaded, setGlobalTransaction, setLocalRollbackOnly, setMethodCall, setOptionOverrides, setOriginLocal, setState, setTransaction, throwIfNeeded, toStringpublic void setTransactionContext(TransactionContext transactionContext)
InvocationContextsetTransactionContext in class InvocationContexttransactionContext - transaction context to setpublic NodeSPI lookUpNode(Fqn fqn)
MVCCTransactionContext.lookUpNode(Fqn)
lookUpNode in class InvocationContextfqn - fqn to look uppublic void putLookedUpNode(Fqn f, NodeSPI n)
MVCCTransactionContext.putLookedUpNode(Fqn, NodeSPI)
putLookedUpNode in class InvocationContextf - fqn to addn - node to addpublic void putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
InvocationContextputLookedUpNodes in class InvocationContextlookedUpNodes - looked up nodes to addpublic void clearLookedUpNodes()
MVCCTransactionContext.clearLookedUpNodes().clearLookedUpNodes in class InvocationContextpublic Map<Fqn,NodeSPI> getLookedUpNodes()
MVCCTransactionContext.getLookedUpNodes().
getLookedUpNodes in class InvocationContextpublic void reset()
InvocationContextreset in class InvocationContextpublic InvocationContext copy()
InvocationContextTransactionContext, if any, is maintained.copy in class InvocationContextCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.