public interface ContextManagerExtension
ContextManagerExtensioninstances receive notification upon creation of each
This serves as a convenient invocation point for enabling system wide context propagator hooks.
ContextManagerExtensionand related classes are packaged within a third party JAR file, or they can be supplied by the container or MicroProfile Context Propagation implementation.
ContextManagerExtensions are made discoverable via the standard
ServiceLoadermechanism. The JAR file that packages it must include a file of the following name and location,
The content of the aforementioned file must be one or more lines, each specifying the fully qualified name of a
ContextManagerExtensionimplementation that is provided within the JAR file.
ContextManagercreation, the MicroProfile Context Propagation implementation must subsequently query the container's
ContextManagerExtensions and call the
setupmethod on each instance.
void setup(ContextManager manager)This method is called after every
ContextManagerinstance has been successfully created. Implementations may use the supplied manager to create and configure builders and build instances of
ContextManagerinstance that was just created.