[cdi-dev] CDI-14 retrieving the BM from servlet parameters

Mark Struberg struberg at yahoo.de
Wed Feb 8 05:54:28 EST 2012


Hi Joseph!


This only got added in the CDI-1.1-EDR, and was NOT part of CDI-1.0 :)

Thus we wont have any backward compat problem.

LieGrue,
strub


PS: please fix your reply-to generator :D


----- Original Message -----
> From: Joseph Bergmark <bergmark at us.ibm.com>
> To: cdi-dev <cdi-dev at lists.jboss.org>
> Cc: 
> Sent: Tuesday, February 7, 2012 9:36 PM
> Subject: Re: [cdi-dev] CDI-14 retrieving the BM from servlet parameters
> 
> I understand wanting to remove duplicate ways to do the same thing, but it
> seems to me that breaking backwards compatibility is worse.
> 
> Sincerely,
> 
> Joe Bergmark
> WebSphere Development
> bergmark at us.ibm.com
> (919)254-9925
> 
> 
> |------------>
> | From:      |
> |------------>
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
>   |Mark Struberg <struberg at yahoo.de>                                      
>                                                                            |
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | To:        |
> |------------>
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
>   |cdi-dev <cdi-dev at lists.jboss.org>                                      
>                                                                            |
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Date:      |
> |------------>
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
>   |02/07/2012 06:53 AM                                                          
>                                                                      |
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Subject:   |
> |------------>
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
>   |[cdi-dev] CDI-14 retrieving the BM from servlet parameters                    
>                                                                     |
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
> |------------>
> | Sent by:   |
> |------------>
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
>   |cdi-dev-bounces at lists.jboss.org                                              
>                                                                      |
>   
>> --------------------------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> _______________________________________________
> 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