Class 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 Request context as that's currently the only one in Arc that needs propagation.
    • Field Detail

      • NOOP_CONTROLLER

        protected static final org.eclipse.microprofile.context.spi.ThreadContextController NOOP_CONTROLLER
    • Constructor Detail

      • ArcContextProvider

        public ArcContextProvider()
    • Method Detail

      • 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