I'm looking for a way to inject a custom implementation of ThreadContextStack into the ThreadContext. There is already an injection mechanism for ThreadContextMap and the interface ThreadContextStack is in the SPI package but it looks like ThreadContext always directly instantiate the DefaultThreadContextStack class.