public final class ProviderContextHolder
extends java.lang.Object
ProviderContext that associates it with the current thread using a ThreadLocal.ProviderContext,
ProviderContextFilter| Modifier and Type | Method and Description |
|---|---|
static ProviderContext |
getProviderContext()
Returns the
ProviderContext bound to the current thread. |
static void |
resetProviderContext()
Reset the
ProviderContext bound to the current thread. |
static void |
setProviderContext(ProviderContext providerContext)
Bind the given
ProviderContext to the current thread. |
public static ProviderContext getProviderContext()
ProviderContext bound to the current thread.ProviderContextpublic static void setProviderContext(ProviderContext providerContext)
ProviderContext to the current thread.providerContext - the ProviderContextpublic static void resetProviderContext()
ProviderContext bound to the current thread.