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

Gavin King gavin at hibernate.org
Tue Jan 13 00:47:03 EST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Web Beans 20090113.pdf
Type: application/pdf
Size: 544371 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/weld-dev/attachments/20090113/e36ece57/attachment.pdf 


More information about the weld-dev mailing list