public class InvocationContextContainerImpl extends Object implements InvocationContextContainer
| Constructor and Description |
|---|
InvocationContextContainerImpl() |
| 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 |
init(GlobalConfiguration globalConfiguration) |
void |
setThreadLocal(InvocationContext context)
Associate the InvocationContext parameter with the calling thread.
|
void |
stop() |
public void init(GlobalConfiguration globalConfiguration)
public void stop()
public InvocationContext getInvocationContext(boolean quiet)
InvocationContextContainerInvocationContext 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.getInvocationContext in interface InvocationContextContainerpublic void setThreadLocal(InvocationContext context)
InvocationContextContainersetThreadLocal in interface InvocationContextContainerpublic void clearThreadLocal()
InvocationContextContainerclearThreadLocal in interface InvocationContextContainerCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.