Package io.smallrye.context
Class SmallRyeContextManager
java.lang.Object
io.smallrye.context.SmallRyeContextManager
- All Implemented Interfaces:
org.eclipse.microprofile.context.spi.ContextManager
public class SmallRyeContextManager
extends Object
implements org.eclipse.microprofile.context.spi.ContextManager
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns aSmallRyeThreadContextinstance which clears all thread contexts.Returns aSmallRyeThreadContextinstance which propagates all thread contexts.Returns aSmallRyeThreadContextinstance which propagates default contexts, possibly configured via MP Config.String[]List<org.eclipse.microprofile.context.spi.ContextManagerExtension>getProviderPlan(String[] propagated, String[] unchanged, String[] cleared)
-
Field Details
-
NONE
- See Also:
-
NO_STRING
-
ALL_REMAINING_ARRAY
-
-
Method Details
-
getAllProviderTypes
-
getProviderPlan
-
getProviderPlan
public ThreadContextProviderPlan getProviderPlan(String[] propagated, String[] unchanged, String[] cleared) -
newManagedExecutorBuilder
- Specified by:
newManagedExecutorBuilderin interfaceorg.eclipse.microprofile.context.spi.ContextManager
-
newThreadContextBuilder
- Specified by:
newThreadContextBuilderin interfaceorg.eclipse.microprofile.context.spi.ContextManager
-
getDefaultExecutorService
-
getExtensions
-
getDefaultValues
-
defaultThreadContext
Returns aSmallRyeThreadContextinstance which propagates default contexts, possibly configured via MP Config.- Returns:
- a
SmallRyeThreadContextinstance which propagates default contexts, possibly configured via MP Config
-
allPropagatedThreadContext
Returns aSmallRyeThreadContextinstance which propagates all thread contexts.- Returns:
- a
SmallRyeThreadContextinstance which propagates all thread contexts.
-
allClearedThreadContext
Returns aSmallRyeThreadContextinstance which clears all thread contexts.- Returns:
- a
SmallRyeThreadContextinstance which clears all thread contexts.
-