Package io.smallrye.context
Class SmallRyeContextManagerProvider
- java.lang.Object
-
- io.smallrye.context.SmallRyeContextManagerProvider
-
- All Implemented Interfaces:
org.eclipse.microprofile.context.spi.ContextManagerProvider
public class SmallRyeContextManagerProvider extends Object implements org.eclipse.microprofile.context.spi.ContextManagerProvider
-
-
Constructor Summary
Constructors Constructor Description SmallRyeContextManagerProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SmallRyeContextManager
getContextManager()
SmallRyeContextManager
getContextManager(ClassLoader classLoader)
SmallRyeContextManager.Builder
getContextManagerBuilder()
static SmallRyeContextManager
getManager()
static SmallRyeContextManagerProvider
instance()
static void
register()
Deprecated.Should be removed in favour of SPIvoid
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
-
-
-
Method Detail
-
register
@Deprecated public static void register()
Deprecated.Should be removed in favour of SPI
-
unregister
@Deprecated public static void unregister()
Deprecated.Should be removed in favour of SPI
-
getContextManager
public SmallRyeContextManager getContextManager()
- Specified by:
getContextManager
in interfaceorg.eclipse.microprofile.context.spi.ContextManagerProvider
-
getContextManager
public SmallRyeContextManager getContextManager(ClassLoader classLoader)
- Specified by:
getContextManager
in interfaceorg.eclipse.microprofile.context.spi.ContextManagerProvider
-
getContextManagerBuilder
public SmallRyeContextManager.Builder getContextManagerBuilder()
- Specified by:
getContextManagerBuilder
in interfaceorg.eclipse.microprofile.context.spi.ContextManagerProvider
-
registerContextManager
public void registerContextManager(org.eclipse.microprofile.context.spi.ContextManager manager, ClassLoader classLoader)
- Specified by:
registerContextManager
in interfaceorg.eclipse.microprofile.context.spi.ContextManagerProvider
-
releaseContextManager
public void releaseContextManager(org.eclipse.microprofile.context.spi.ContextManager manager)
- Specified by:
releaseContextManager
in interfaceorg.eclipse.microprofile.context.spi.ContextManagerProvider
-
getManager
public static SmallRyeContextManager getManager()
-
instance
public static SmallRyeContextManagerProvider instance()
-
-