@Deprecated public interface InvocationContextContainer
InvocationContext and the calling thread.| Modifier and Type | Method and Description |
|---|---|
void |
clearThreadLocal()
Deprecated.
Remove the stored InvocationContext from the calling thread.
|
default void |
clearThreadLocal(InvocationContext context)
Deprecated.
|
InvocationContext |
getInvocationContext(boolean quiet)
Deprecated.
Returns the
InvocationContext that is currently associated with the calling thread. |
void |
setThreadLocal(InvocationContext context)
Deprecated.
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()
default void clearThreadLocal(InvocationContext context)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.