Package | Description |
---|---|
org.eclipse.microprofile.context.spi |
Modifier and Type | Method and Description |
---|---|
ContextManager |
ContextManager.Builder.build()
Creates a new
ContextManager with the specified configuration. |
default ContextManager |
ContextManagerProvider.getContextManager()
Gets a
ContextManager for the current thread-context ClassLoader . |
ContextManager |
ContextManagerProvider.getContextManager(ClassLoader classloader)
Gets a
ContextManager for the given ClassLoader . |
Modifier and Type | Method and Description |
---|---|
default void |
ContextManagerProvider.registerContextManager(ContextManager manager,
ClassLoader classLoader)
Registers the given
ContextManager for the given ClassLoader , so that
further calls to ContextManagerProvider.getContextManager(ClassLoader) for the same ClassLoader
will return this instance instead of creating a new one. |
default void |
ContextManagerProvider.releaseContextManager(ContextManager manager)
Releases a
ContextManager that was previously registered with
ContextManagerProvider.registerContextManager(ContextManager, ClassLoader) . |
void |
ContextManagerExtension.setup(ContextManager manager)
This method is called after every
ContextManager
instance has been successfully created. |
Copyright © 2018 ‘ 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.