[cdi-dev] CDI-14 retrieving the BM from servlet parameters
Mark Struberg
struberg at yahoo.de
Tue Feb 7 13:59:02 EST 2012
Done, CDI-214.
https://issues.jboss.org/browse/CDI-214
LieGrue,
strub
----- Original Message -----
> From: Pete Muir <pmuir at redhat.com>
> To: Mark Struberg <struberg at yahoo.de>
> Cc: cdi-dev <cdi-dev at lists.jboss.org>
> Sent: Tuesday, February 7, 2012 5:25 PM
> Subject: Re: [cdi-dev] CDI-14 retrieving the BM from servlet parameters
>
> I probably agree. Could you file a new issue for this so we can remove it again
> :-)
>
> On 7 Feb 2012, at 11:52, Mark Struberg wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> cdi-dev mailing list
>> cdi-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
More information about the cdi-dev
mailing list