<br><br><div class="gmail_quote">On Thu, May 28, 2009 at 10:51 AM, David Allen <span dir="ltr">&lt;<a href="mailto:drallendc@gmail.com">drallendc@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, 2009-05-28 at 11:43 -0400, Dan Allen wrote:<br>
&gt; On Thu, May 28, 2009 at 11:14 AM, Pete Muir &lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt;         On 28 May 2009, at 16:04, Dan Allen wrote:<br>
&gt;<br>
&gt;         &gt; On Thu, May 28, 2009 at 6:35 AM, Pete Muir<br>
&gt;         &gt; &lt;<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>&gt; wrote:<br>
&gt;         &gt;         Yeah, this is used a lot in the TCK, and maybe a bit<br>
&gt;         &gt;         in addons which enable injection in types WB doesn&#39;t<br>
&gt;         &gt;         know about (?), but I don&#39;t think users will hit it.<br>
&gt;         &gt;<br>
&gt;         &gt; Correct, users really should hit this. It&#39;s used heavily in<br>
&gt;         &gt; tests, for instance in AbstractWebBeans tests.<br>
&gt;<br>
&gt;<br>
&gt;         Hmm, yes you might well want to use this in a standalone, unit<br>
&gt;         test, environment as an entry point.<br>
&gt;<br>
&gt; It would be great if we can add a convenience method to<br>
&gt; AbstractWebBeansTest. That would pretty much clear up any annoyances.<br>
<br>
</div>Yes, that is the plan.  Ditto for the TCK abstract test class.<br>
<div class="im"></div></blockquote><div><br><br>I got the TCK compiling locally with the new BeanManager interface, but rather than adding the bridge methods to the old SPI methods in the abstract test class, I added them to a separate utility class, because several things in the TCK that aren&#39;t test subclasses use this functionality as well.<br>
<br>I can also add a method to the abstract test class to delegate to the utility class.<br><br>Is that ok?<br><br>-Clint<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         &gt; It is also used when you are entering from outside the WB<br>
&gt;         &gt; environment. You get a handle to manager and lookup the type<br>
&gt;         &gt; that gives you entry. For instance, you might look up the<br>
&gt;         &gt; Identity component and then invoke some method on it which<br>
&gt;         &gt; may trigger a chain of WB injections once &quot;inside&quot;.<br>
&gt;<br>
&gt;<br>
&gt;         Yes, this is addon frameworks, not end users.<br>
&gt;<br>
&gt; Yep, agreed. I&#39;ve found that injection is sufficient for all but those<br>
&gt; &quot;entry point&quot; cases.<br>
&gt;<br>
&gt; -Dan<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Dan Allen<br>
&gt; Senior Software Engineer, Red Hat | Author of Seam in Action<br>
&gt;<br>
&gt; <a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
&gt; <a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br>
&gt; <a href="http://in.relation.to/Bloggers/Dan" target="_blank">http://in.relation.to/Bloggers/Dan</a><br>
&gt;<br>
&gt; NOTE: While I make a strong effort to keep up with my email on a daily<br>
&gt; basis, personal or other work matters can sometimes keep me away<br>
&gt; from my email. If you contact me, but don&#39;t hear back for more than a<br>
&gt; week,<br>
&gt; it is very likely that I am excessively backlogged or the message was<br>
&gt; caught in the spam filters.  Please don&#39;t hesitate to resend a message<br>
&gt; if<br>
&gt; you feel that it did not reach my attention.<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
webbeans-dev mailing list<br>
<a href="mailto:webbeans-dev@lists.jboss.org">webbeans-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/webbeans-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/webbeans-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Clint Popetz<br><a href="http://42lines.net">http://42lines.net</a><br>Scalable Web Application Development<br>