Package io.quarkus.arc.runtime.context
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.eclipse.microprofile.context.spi.ThreadContextController
NOOP_CONTROLLER
-
Constructor Summary
Constructors Constructor Description ArcContextProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.context.spi.ThreadContextSnapshot
clearedContext(Map<String,String> map)
org.eclipse.microprofile.context.spi.ThreadContextSnapshot
currentContext(Map<String,String> map)
String
getThreadContextType()
-
-
-
Method Detail
-
currentContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext(Map<String,String> map)
- Specified by:
currentContext
in interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
clearedContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot clearedContext(Map<String,String> map)
- Specified by:
clearedContext
in interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
getThreadContextType
public String getThreadContextType()
- Specified by:
getThreadContextType
in interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
-