public class SmallRyeContextManagerProvider extends Object implements org.eclipse.microprofile.context.spi.ContextManagerProvider
Constructor and Description |
---|
SmallRyeContextManagerProvider() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.context.spi.ContextManager |
getContextManager() |
org.eclipse.microprofile.context.spi.ContextManager |
getContextManager(ClassLoader classLoader) |
SmallRyeContextManager.Builder |
getContextManagerBuilder() |
static SmallRyeContextManager |
getManager() |
static void |
register()
Deprecated.
Should be removed in favour of SPI
|
void |
registerContextManager(org.eclipse.microprofile.context.spi.ContextManager manager,
ClassLoader classLoader) |
void |
releaseContextManager(org.eclipse.microprofile.context.spi.ContextManager manager) |
static void |
unregister()
Deprecated.
Should be removed in favour of SPI
|
@Deprecated public static void register()
@Deprecated public static void unregister()
public org.eclipse.microprofile.context.spi.ContextManager getContextManager()
getContextManager
in interface org.eclipse.microprofile.context.spi.ContextManagerProvider
public org.eclipse.microprofile.context.spi.ContextManager getContextManager(ClassLoader classLoader)
getContextManager
in interface org.eclipse.microprofile.context.spi.ContextManagerProvider
public SmallRyeContextManager.Builder getContextManagerBuilder()
getContextManagerBuilder
in interface org.eclipse.microprofile.context.spi.ContextManagerProvider
public void registerContextManager(org.eclipse.microprofile.context.spi.ContextManager manager, ClassLoader classLoader)
registerContextManager
in interface org.eclipse.microprofile.context.spi.ContextManagerProvider
public void releaseContextManager(org.eclipse.microprofile.context.spi.ContextManager manager)
releaseContextManager
in interface org.eclipse.microprofile.context.spi.ContextManagerProvider
public static SmallRyeContextManager getManager()
Copyright © 2019 JBoss by Red Hat. All rights reserved.