Hi!
spi.xml- <para>Web components may obtain an instance of
<literal>BeanManager</literal>
spi.xml: by calling
<literal>ServletContext.getAttribute("javax.enterprise.inject.spi.BeanManager")</literal>.</para>
got added as part of CDI-14 (according to the commit message for 7f9bc25c)
I'm not sure if we still need this. Actually I'm even -1 for adding this, because
we would promote multiple redundant ways to do the same stuff.
I'd rather suggest to remove it again and propagate the use of CDI.current() instead.
LieGrue,
strub
Show replies by thread