public interface InvocationContextContainer
InvocationContext
and the calling thread.Modifier and Type | Method and Description |
---|---|
void |
clearThreadLocal()
Remove the stored InvocationContext from the calling thread.
|
InvocationContext |
getInvocationContext(boolean quiet)
Returns the
InvocationContext that is currently associated with the calling thread. |
void |
setThreadLocal(InvocationContext context)
Associate the InvocationContext parameter with the calling thread.
|
InvocationContext getInvocationContext(boolean quiet)
InvocationContext
that is currently associated with the calling thread. Important:
implementations of this method are most likely expensive, involving thread locals. It is recommended to cache
the result of this method rather than repeating the call.quiet
- IllegalStateException
- if there is no context associated with the current thread.void setThreadLocal(InvocationContext context)
void clearThreadLocal()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.