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, waitaddLockedKey, clearLockedKeys, getLockedKeys, getLockOwner, isInTxScope, replaceValue, setLockOwnergetLookedUpEntries, lookupEntry, putLookedUpEntry, removeLookedUpEntryprotected AbstractInvocationContext(Address origin)
public final Address getOrigin()
getOrigin in interface InvocationContextpublic boolean isOriginLocal()
InvocationContextisOriginLocal in interface InvocationContextpublic boolean hasLockedKey(Object key)
InvocationContexthasLockedKey in interface InvocationContextkey - lock to testpublic AbstractInvocationContext clone()
InvocationContextclone in interface InvocationContextclone in class Objectpublic final ClassLoader getClassLoader()
InvocationContextgetClassLoader in interface InvocationContextpublic final void setClassLoader(ClassLoader classLoader)
InvocationContextsetClassLoader in interface InvocationContextpublic boolean isEntryRemovedInContext(Object key)
isEntryRemovedInContext in interface InvocationContext@Deprecated protected void onEntryValueReplaced(Object key, InternalCacheEntry cacheEntry)
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.