Class ApplicationContextProvider
- java.lang.Object
-
- io.smallrye.context.application.context.propagation.ApplicationContextProvider
-
- All Implemented Interfaces:
FastThreadContextProvider,org.eclipse.microprofile.context.spi.ThreadContextProvider
public class ApplicationContextProvider extends Object implements FastThreadContextProvider
-
-
Constructor Summary
Constructors Constructor Description ApplicationContextProvider()
-
Method Summary
Modifier and Type Method Description org.eclipse.microprofile.context.spi.ThreadContextSnapshotclearedContext(Map<String,String> props)ObjectclearedValue(Map<String,String> props)org.eclipse.microprofile.context.spi.ThreadContextSnapshotcurrentContext(Map<String,String> props)StringgetThreadContextType()ThreadLocal<?>threadLocal(Map<String,String> props)
-
-
-
Method Detail
-
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
public String getThreadContextType()
- Specified by:
getThreadContextTypein interfaceorg.eclipse.microprofile.context.spi.ThreadContextProvider
-
threadLocal
public ThreadLocal<?> threadLocal(Map<String,String> props)
- Specified by:
threadLocalin interfaceFastThreadContextProvider
-
clearedValue
public Object clearedValue(Map<String,String> props)
- Specified by:
clearedValuein interfaceFastThreadContextProvider
-
-