public interface WeldAlterableContext extends AlterableContext
AlterableContextwhich allows to capture all instances from given context or to set them to previously obtained values. Most built-in contexts implement this in order to support context propagation. Exception are
ApplicationContextwhich works out of the box and then
DependentContextwhich are not to be propagated.
|Modifier and Type||Method and Description|
Clears the backing bean store and feeds it with the set of
Retrieves set of
default Collection<ContextualInstance<?>> getAllContextualInstances()
ContextualInstancewithin the context. This entails all instances that were created up to this point - Weld creates them lazily so unless some beans were already used, they have not been stored.
ContextualInstanceexisting in this context
default void clearAndSet(Collection<ContextualInstance<?>> setOfInstances)
ContextualInstanceprovided as parameter. All
ContextualInstancehave to belong to the same scope as does this
Copyright © 2021 JBoss by Red Hat. All rights reserved.