Uses of Interface
org.eclipse.microprofile.context.spi.ContextManager.Builder
Packages that use ContextManager.Builder
-
Uses of ContextManager.Builder in org.eclipse.microprofile.context.spi
Methods in org.eclipse.microprofile.context.spi that return ContextManager.BuilderModifier and TypeMethodDescriptionContextManager.Builder.addDiscoveredContextManagerExtensions()Load all discoverableContextManagerExtensioninstances via theServiceLoadermechanism on the current thread-contextClassLoader(unless overridden byforClassLoader(ClassLoader)).ContextManager.Builder.addDiscoveredThreadContextProviders()Load all discoverableThreadContextProviderinstances via theServiceLoadermechanism on the current thread-contextClassLoader(unless overridden byforClassLoader(ClassLoader)).ContextManager.Builder.forClassLoader(ClassLoader classLoader) Use the givenClassLoaderforaddDiscoveredThreadContextProviders()instead of the current thread-contextClassLoader.default ContextManager.BuilderContextManagerProvider.getContextManagerBuilder()Returns a newContextManager.Builderto create newContextManagerinstances.ContextManager.Builder.withContextManagerExtensions(ContextManagerExtension... extensions) Use the specifiedContextManagerExtensioninstances.ContextManager.Builder.withDefaultExecutorService(ExecutorService executorService) Use the givenExecutorServiceto execute async tasks for contextualisedCompletableFutureandCompletionStagewhen no executor is specified.ContextManager.Builder.withThreadContextProviders(ThreadContextProvider... providers) Use the specifiedThreadContextProviderinstances.