public class DefaultBaggageProvider
extends java.lang.Object
Loads the BaggageProviderFactory
specified by baggage.provider
using reflection.
Modifier and Type | Method and Description |
---|---|
static BaggageProvider<? extends BaggageContext> |
get() |
static BaggageProvider<BaggageContext> |
getWrapped() |
public static BaggageProvider<? extends BaggageContext> get()
BaggageProvider
instance. The default baggage provider can be set using
-Dbaggage.provider. If no instance has been configured, this method will return a
NoOpBaggageContextProvider
.public static BaggageProvider<BaggageContext> getWrapped()
BaggageProvider
instance, wrapped with a BaggageProviderProxy
. The default
baggage provider can be set using -Dbaggage.provider. If no instance has been configured, this method
will return a NoOpBaggageContextProvider
.