public interface ManagedContext extends WeldAlterableContext
Lifecycle management for built in contexts.
ManagedContext only allows a context to be activated, deactivated and
destroyed. It does not allow the context to be associated with an underlying data store. These operations are defined on
Weld provides a number of managed contexts:
these managed contexts are scoped to the thread, and propagation of the backing store between threads is the responsibility
of the managed context user.
|Modifier and Type||Method and Description|
Activate the Context.
Deactivate the Context, destroying any instances if the context is invalid.
Mark the context as due for destruction when deactivate is called.
Copyright © 2021 JBoss by Red Hat. All rights reserved.