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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.context.spi.ThreadContextSnapshotclearedContext(Map<String, String> map) org.eclipse.microprofile.context.spi.ThreadContextSnapshotcurrentContext(Map<String, String> map)
-
Constructor Details
-
ArcContextProvider
public ArcContextProvider()
-
-
Method Details
-
currentContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext(Map<String, String> map) - Specified by:
currentContextin interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
clearedContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot clearedContext(Map<String, String> map) - Specified by:
clearedContextin interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
getThreadContextType
- Specified by:
getThreadContextTypein interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-