New deployment lifecycle (Was: [webbeans-dev] Re: Bean.getInjectionPoints())

Pete Muir pmuir at redhat.com
Tue Jan 13 18:42:00 EST 2009


Nik,

I would like to get this change in within the next week or so. Do you  
want to look it, as you already working on validate()? Or would this  
mean you need an extra 3 hours in the day ;-)

Pete

On 13 Jan 2009, at 05:47, Gavin King wrote:

> OK, I've fixed this problem by:
>
> * changing when the @Initialized event occurs
> * introducing a new @Deployed event at the end of the deployment
> * removing the validate() method from Manager (no longer needed)
>
> Take a look at chapter 12, esp. 12.1 and 12.5.
>
> On Fri, Jan 2, 2009 at 4:33 PM, Gavin King <gavin at hibernate.org>  
> wrote:
>
>> But the problem is that it doesn't know *when* to validate.  
>> Validation
>> can't be performed until *all* Beans have been registered.
>>
>> Hum, I now see that there's a problem with the current definition of
>> the @Initialized Manager event - it actually needs to happen *before*
>> deployment problems are validated and thrown. Or perhaps there should
>> be two events? @Initialized Manager and @Deployed Manager.
>>
>> Lucky we didn't let that slip through!
>
>
> -- 
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
> <Web Beans  
> 20090113.pdf>_______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev




More information about the weld-dev mailing list