public static class SmallRyeContextManager.Builder extends Object implements org.eclipse.microprofile.context.spi.ContextManager.Builder
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SmallRyeContextManager.Builder |
addDiscoveredContextManagerExtensions() |
SmallRyeContextManager.Builder |
addDiscoveredThreadContextProviders() |
SmallRyeContextManager |
build() |
SmallRyeContextManager.Builder |
forClassLoader(ClassLoader classLoader) |
SmallRyeContextManager.Builder |
withContextManagerExtensions(org.eclipse.microprofile.context.spi.ContextManagerExtension... propagators) |
SmallRyeContextManager.Builder |
withDefaultExecutorService(ExecutorService executorService) |
SmallRyeContextManager.Builder |
withThreadContextProviders(org.eclipse.microprofile.context.spi.ThreadContextProvider... providers) |
public SmallRyeContextManager.Builder withThreadContextProviders(org.eclipse.microprofile.context.spi.ThreadContextProvider... providers)
withThreadContextProviders
in interface org.eclipse.microprofile.context.spi.ContextManager.Builder
public SmallRyeContextManager.Builder addDiscoveredThreadContextProviders()
addDiscoveredThreadContextProviders
in interface org.eclipse.microprofile.context.spi.ContextManager.Builder
public SmallRyeContextManager.Builder withContextManagerExtensions(org.eclipse.microprofile.context.spi.ContextManagerExtension... propagators)
withContextManagerExtensions
in interface org.eclipse.microprofile.context.spi.ContextManager.Builder
public SmallRyeContextManager.Builder addDiscoveredContextManagerExtensions()
addDiscoveredContextManagerExtensions
in interface org.eclipse.microprofile.context.spi.ContextManager.Builder
public SmallRyeContextManager.Builder forClassLoader(ClassLoader classLoader)
forClassLoader
in interface org.eclipse.microprofile.context.spi.ContextManager.Builder
public SmallRyeContextManager build()
build
in interface org.eclipse.microprofile.context.spi.ContextManager.Builder
public SmallRyeContextManager.Builder withDefaultExecutorService(ExecutorService executorService)
Copyright © 2019 JBoss by Red Hat. All rights reserved.