I noticed that BeanManagerImpl permits many Contexts to be indexed under a given scope type. Why is that?
The CDI 2.0 specification
says:
"Associated with every scope type is a context object."
I took "a context object" to mean "exactly one context object" but maybe I'm mistaken? Obviously Weld can do things outside of the specification but I was curious what the use case might be here.
I do understand that certainly only one
Context of a given scope type may be active. I was just curious why the container even permits many to be registered.
Best,
Laird