public abstract class AbstractInvocationContext extends Object implements InvocationContext
Modifier | Constructor and Description |
---|---|
protected |
AbstractInvocationContext(Address origin) |
Modifier and Type | Method and Description |
---|---|
AbstractInvocationContext |
clone()
Clones the invocation context.
|
ClassLoader |
getClassLoader()
Returns the class loader associated with this invocation
|
Address |
getOrigin() |
boolean |
hasLockedKey(Object key)
Returns true if the lock being tested is already held in the current scope, false otherwise.
|
boolean |
isEntryRemovedInContext(Object key) |
boolean |
isOriginLocal()
Returns true if the call was originated locally, false if it is the result of a remote rpc.
|
protected void |
onEntryValueReplaced(Object key,
InternalCacheEntry cacheEntry)
Deprecated.
Since 8.1, no longer used.
|
void |
setClassLoader(ClassLoader classLoader)
Sets the class loader associated for this invocation
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLockedKey, clearLockedKeys, getLockedKeys, getLockOwner, isInTxScope, replaceValue, setLockOwner
getLookedUpEntries, lookupEntry, putLookedUpEntry, removeLookedUpEntry
protected AbstractInvocationContext(Address origin)
public final Address getOrigin()
getOrigin
in interface InvocationContext
public boolean isOriginLocal()
InvocationContext
isOriginLocal
in interface InvocationContext
public boolean hasLockedKey(Object key)
InvocationContext
hasLockedKey
in interface InvocationContext
key
- lock to testpublic AbstractInvocationContext clone()
InvocationContext
clone
in interface InvocationContext
clone
in class Object
public final ClassLoader getClassLoader()
InvocationContext
getClassLoader
in interface InvocationContext
public final void setClassLoader(ClassLoader classLoader)
InvocationContext
setClassLoader
in interface InvocationContext
public boolean isEntryRemovedInContext(Object key)
isEntryRemovedInContext
in interface InvocationContext
@Deprecated protected void onEntryValueReplaced(Object key, InternalCacheEntry cacheEntry)
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.