public final class ProviderContextHolder
extends java.lang.Object
ProviderContext that associates it with the current thread using a ThreadLocal.ProviderContext,
ProviderContextFilter| 限定符和类型 | 方法和说明 |
|---|---|
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.