deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: When using the BeanManager to retrieve Beans before the Container is started, non-portable behaviour results!
Date Fri, 05 Apr 2013 15:55:38 GMT
that's what i understood so it should be allowed only here

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/5 Jozef Hartinger <jharting@redhat.com>

> It is going to be forbidden before ADV.
>
>
> On 04/05/2013 05:28 PM, Romain Manni-Bucau wrote:
>
>> in AfterDeploymentValidation? so it means you can't get beans when all is
>> ok? that's just inconsistent
>>
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau <https://twitter.com/**rmannibucau<https://twitter.com/rmannibucau>
>> >*
>> *Blog: **http://rmannibucau.**wordpress.com/*<http://rmannibucau.wordpress.com/*>
>> <http://**rmannibucau.wordpress.com/ <http://rmannibucau.wordpress.com/>>
>> *LinkedIn: **http://fr.linkedin.com/in/**rmannibucau*<http://fr.linkedin.com/in/rmannibucau*>
>> *Github: https://github.com/**rmannibucau*<https://github.com/rmannibucau*>
>>
>>
>>
>> 2013/4/5 Mark Struberg <struberg@yahoo.de>
>>
>>  Romain, in CDI-1.1 this will even be forbidden by the spec!
>>>
>>> LieGrue,
>>> strub
>>>
>>>
>>>
>>>
>>> ----- Original Message -----
>>>
>>>> From: Romain Manni-Bucau <rmannibucau@gmail.com>
>>>> To: deltaspike-dev@incubator.**apache.org<deltaspike-dev@incubator.apache.org>
>>>> Cc:
>>>> Sent: Friday, April 5, 2013 11:47 AM
>>>> Subject: When using the BeanManager to retrieve Beans before the
>>>>
>>> Container is started, non-portable behaviour results!
>>>
>>>> Hi,
>>>>
>>>> this warning message "When using the BeanManager to retrieve Beans
>>>> before
>>>> the Container is started, non-portable behaviour results!" pops up when
>>>>
>>> the
>>>
>>>> Bean[Manager]Provider is used. the point is we can use it in
>>>> AfterDeploymentValidation event but since extensions order is not
>>>> guaranteed a custom extension can use it before the "provider"
>>>> extension
>>>> set the warning to not be printed anymore.
>>>>
>>>> Can't we do anything?
>>>>
>>>> A working but not very sexy solution is to offer a
>>>> Bean[Manager]Provider.getXXX(**args, warnBoolean);
>>>>
>>>> wdyt?
>>>>
>>>> *Romain Manni-Bucau*
>>>> *Twitter: @rmannibucau <https://twitter.com/**rmannibucau<https://twitter.com/rmannibucau>
>>>> >*
>>>> *Blog:
>>>> **http://rmannibucau.**wordpress.com/*<http://rmannibucau.wordpress.com/*>
>>>> <http://**rmannibucau.wordpress.com/<http://rmannibucau.wordpress.com/>
>>>> >
>>>> *LinkedIn: **http://fr.linkedin.com/in/**rmannibucau*<http://fr.linkedin.com/in/rmannibucau*>
>>>> *Github: https://github.com/**rmannibucau*<https://github.com/rmannibucau*>
>>>>
>>>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message