To clarify:
http://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#provider_se
Does not forbid such calls.
On Fri, Sep 8, 2017 at 12:58 PM, Todor Boev <rinsvind(a)gmail.com> wrote:
Hi all,
The javax.enterprise.inject.se.SeContainerInitializer seems to allow me
to create and use simultaneously multiple CDI containers.
Furthermore I don't seem to be required to setup each one with it's own
ClassLoader.
If I create multiple containers over the same ClassLoader, what would it
mean to call javax.enterprise.inject.spi.CDI.current() in each one?
Regards,
Todor