public final class BaggageListener
extends java.lang.Object
BaggageListener is a callback handler that is invoked whenever core BaggageProvider functions
(branch, merge, etc.) are invoked. Baggage Listeners are able to manipulate baggage instances before and after the
functions are called.
A BaggageProvider must support adding BaggageListeners.| Modifier and Type | Class and Description |
|---|---|
static interface |
BaggageListener.BranchListener<B extends BaggageContext>
Wraps calls to
BaggageProvider.branch(BaggageContext) so that the baggage instance(s) can be modified. |
static interface |
BaggageListener.JoinListener<B extends BaggageContext>
Wraps calls to
BaggageProvider.join(BaggageContext, BaggageContext) so that baggage instance(s) can be
modified. |