public class ContextThreadLocal
extends java.lang.Object
Constructor and Description |
---|
ContextThreadLocal() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ContextPropagator> |
getContextPropagators() |
static java.util.Map<java.lang.String,java.lang.Object> |
getCurrentContextForPropagation() |
static void |
propagateContextToCurrentThread(java.util.Map<java.lang.String,java.lang.Object> contextData) |
static void |
setContextPropagators(java.util.List<ContextPropagator> propagators)
Sets the list of context propagators for the thread
|
public static void setContextPropagators(java.util.List<ContextPropagator> propagators)
public static java.util.List<ContextPropagator> getContextPropagators()
public static java.util.Map<java.lang.String,java.lang.Object> getCurrentContextForPropagation()
public static void propagateContextToCurrentThread(java.util.Map<java.lang.String,java.lang.Object> contextData)