i think/hope it will behave this way excepted thanks to the ContextService it can be synchronous too but since the context can change you can get different instances. Would be great to get some really explicit thing about it IMO.<div>

<br clear="all"><div><div><i>Romain Manni-Bucau</i></div><div><i>Twitter: <a href="https://twitter.com/rmannibucau" target="_blank">@rmannibucau</a></i></div><div><i>Blog: </i><a href="http://rmannibucau.wordpress.com/" target="_blank"><i>http://rmannibucau.wordpress.com/</i></a></div>

<div><i>LinkedIn: </i><font color="#0000ee"><i><u><a href="http://fr.linkedin.com/in/rmannibucau" target="_blank">http://fr.linkedin.com/in/rmannibucau</a></u></i></font></div><div><i><span style="background-color:rgb(255,255,255)">Github: </span><a href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a></i></div>

<div><br></div></div>
<br><br><div class="gmail_quote">2013/6/18 Martin Kouba <span dir="ltr">&lt;<a href="mailto:mkouba@redhat.com" target="_blank">mkouba@redhat.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I think this is specified in 2.3 Container Thread Context:<br>
&quot;The types of contexts to be propagated from a contextualizing<br>
application component include JNDI naming<br>
context, classloader, and security information. Containers must support<br>
propagation of these context types. In<br>
addition, containers can choose to support propagation of other types of<br>
context.&quot;<br>
<br>
Furthermore the CDI spec states in 6.7 Context management for built-in<br>
scopes:<br>
&quot;The context does not propagate across remote method invocations or to<br>
asynchronous processes<br>
such as JMS message listeners or EJB timer service timeouts.&quot;<br>
<br>
So I don&#39;t think any of @RequestScoped, @SessionScoped and<br>
@ConversationScoped tasks should work... However this would contradict<br>
the CDI-related section 2.3.2.1, where @RequestScoped CDI beans are not<br>
recommended but also not forbidden.<br>
<br>
Martin<br>
<br>
Dne 17.6.2013 16:31, Romain Manni-Bucau napsal(a):<br>
<div class="im">&gt; Hi guys,<br>
&gt;<br>
&gt; reading concurrency utilities i understand the container should<br>
&gt; propagate the caller &quot;context&quot; (no link with cdi contexts) but it<br>
&gt; doesn&#39;t defined explicitly what it is. So here is the question: are CDI<br>
&gt; contexts (scopes) included in this &quot;context&quot;? - i think to request,<br>
&gt; session, conversation scopes in particular.<br>
&gt;<br>
&gt; Since you can submit a request scope bean (bad idea but allowed<br>
&gt; explicitely) i tend to think it should be done but then the request<br>
&gt; scope is broken (since that&#39;s a thread scope by design) so not sure<br>
&gt; where is the issue if there is one or if i missed something.<br>
&gt;<br>
&gt; Any idea?<br>
&gt;<br>
</div>&gt; /Romain Manni-Bucau/<br>
&gt; /Twitter: @rmannibucau &lt;<a href="https://twitter.com/rmannibucau" target="_blank">https://twitter.com/rmannibucau</a>&gt;/<br>
&gt; /Blog: //<a href="http://rmannibucau.wordpress.com//" target="_blank">http://rmannibucau.wordpress.com//</a><br>
&gt; /LinkedIn: //_<a href="http://fr.linkedin.com/in/rmannibucau_/" target="_blank">http://fr.linkedin.com/in/rmannibucau_/</a><br>
&gt; /Github: <a href="https://github.com/rmannibucau/" target="_blank">https://github.com/rmannibucau/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;<br>
</blockquote></div><br></div>