[cdi-dev] Multiple Java SE Containers
markus at headcrashing.eu
Sun Sep 2 07:58:34 EDT 2018
CDI 13.1 says: "An implementation does not need to support multiple calls of
SeContainerInitializer.initialize() method when the SeContainer is running."
If a Java SE application wants to create distinct Containers containing
beans from the same JAR library, this effectively means, it MUST create
multiple initializers, but the initializers MAY share the same default
ClassLoader, OR does that means that each initializer MUST be given a
separate ClassLoader, OR does that mean that it is IMPOSSIBLE to create
multiple SeContainers at the same time?
Thanks for clarification!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cdi-dev