[webbeans-dev] TCK Tests - Dependent Context Activation

Gurkan Erdogdu gurkanerdogdu at yahoo.com
Mon Mar 2 02:02:45 EST 2009


Thanks for answering Gavin. 
Then, we can not pass the TCK test if we use Observer#notify :)




________________________________
From: Gavin King <gavin at hibernate.org>
To: Gurkan Erdogdu <gurkanerdogdu at yahoo.com>
Cc: webbeans-dev at lists.jboss.org
Sent: Sunday, March 1, 2009 11:25:06 PM
Subject: Re: [webbeans-dev] TCK Tests - Dependent Context Activation

Well, the spec says "observer method". It doesn't say anything about
other observers. So It would be perfectly fine to do it in the
notify() method, but not wrong to do it form fireEvent().

On Sat, Feb 28, 2009 at 4:01 PM, Gurkan Erdogdu <gurkanerdogdu at yahoo.com> wrote:
> Hi;
>
> Specification states that  depending context is active --> "while an
> observer method is invoked", but it does not state that where is the
> starting point for the activation. In the TCK tests, it is activated on the
> Manager#fireEvent.
>
> But currently in the OpenWebBeans project, we activate the Dependent Context
> at the start of the Observer#notify method.
>
> Which one is correct?
>
> Thanks;
>
> /Gurkan
>
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090301/05966ca7/attachment.html 


More information about the weld-dev mailing list