Class ApplicationContextProvider
java.lang.Object
io.smallrye.context.application.context.propagation.ApplicationContextProvider
- All Implemented Interfaces:
FastThreadContextProvider,org.eclipse.microprofile.context.spi.ThreadContextProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.context.spi.ThreadContextSnapshotclearedContext(Map<String, String> props) clearedValue(Map<String, String> props) org.eclipse.microprofile.context.spi.ThreadContextSnapshotcurrentContext(Map<String, String> props) ThreadLocal<?>threadLocal(Map<String, String> props)
-
Constructor Details
-
ApplicationContextProvider
public ApplicationContextProvider()
-
-
Method Details
-
currentContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot currentContext(Map<String, String> props) - Specified by:
currentContextin interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
clearedContext
public org.eclipse.microprofile.context.spi.ThreadContextSnapshot clearedContext(Map<String, String> props) - Specified by:
clearedContextin interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
getThreadContextType
- Specified by:
getThreadContextTypein interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
threadLocal
- Specified by:
threadLocalin interfaceFastThreadContextProvider
-
clearedValue
- Specified by:
clearedValuein interfaceFastThreadContextProvider
-