Class JtaContextProvider
java.lang.Object
io.smallrye.context.jta.context.propagation.JtaContextProvider
- All Implemented Interfaces:
org.eclipse.microprofile.context.spi.ThreadContextProvider
public class JtaContextProvider
extends Object
implements org.eclipse.microprofile.context.spi.ThreadContextProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classbean used to clear the cached TM when the container shuts down -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.context.spi.ThreadContextSnapshotclearedContext(Map<String, String> props) org.eclipse.microprofile.context.spi.ThreadContextSnapshotcurrentContext(Map<String, String> props)
-
Constructor Details
-
JtaContextProvider
public JtaContextProvider()
-
-
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
-