Class ArcContextProvider

java.lang.Object
io.quarkus.arc.runtime.context.ArcContextProvider
All Implemented Interfaces:
org.eclipse.microprofile.context.spi.ThreadContextProvider

public class ArcContextProvider extends Object implements org.eclipse.microprofile.context.spi.ThreadContextProvider
Context propagation for ArC.

Only handles the request context as that's currently the only one in ArC that needs propagation.

  • Constructor Details

    • ArcContextProvider

      public ArcContextProvider()
  • Method Details

    • currentContext

      public org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext(Map<String,String> map)
      Specified by:
      currentContext in interface org.eclipse.microprofile.context.spi.ThreadContextProvider
    • clearedContext

      public org.eclipse.microprofile.context.spi.ThreadContextSnapshot clearedContext(Map<String,String> map)
      Specified by:
      clearedContext in interface org.eclipse.microprofile.context.spi.ThreadContextProvider
    • getThreadContextType

      public String getThreadContextType()
      Specified by:
      getThreadContextType in interface org.eclipse.microprofile.context.spi.ThreadContextProvider