<br><br><div class="gmail_quote">On Thu, May 28, 2009 at 10:51 AM, David Allen <span dir="ltr"><<a href="mailto:drallendc@gmail.com">drallendc@gmail.com</a>></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>
> On Thu, May 28, 2009 at 11:14 AM, Pete Muir <<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>> wrote:<br>
><br>
> On 28 May 2009, at 16:04, Dan Allen wrote:<br>
><br>
> > On Thu, May 28, 2009 at 6:35 AM, Pete Muir<br>
> > <<a href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>> wrote:<br>
> > Yeah, this is used a lot in the TCK, and maybe a bit<br>
> > in addons which enable injection in types WB doesn't<br>
> > know about (?), but I don't think users will hit it.<br>
> ><br>
> > Correct, users really should hit this. It's used heavily in<br>
> > tests, for instance in AbstractWebBeans tests.<br>
><br>
><br>
> Hmm, yes you might well want to use this in a standalone, unit<br>
> test, environment as an entry point.<br>
><br>
> It would be great if we can add a convenience method to<br>
> 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'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>
><br>
><br>
><br>
><br>
> > It is also used when you are entering from outside the WB<br>
> > environment. You get a handle to manager and lookup the type<br>
> > that gives you entry. For instance, you might look up the<br>
> > Identity component and then invoke some method on it which<br>
> > may trigger a chain of WB injections once "inside".<br>
><br>
><br>
> Yes, this is addon frameworks, not end users.<br>
><br>
> Yep, agreed. I've found that injection is sufficient for all but those<br>
> "entry point" cases.<br>
><br>
> -Dan<br>
><br>
><br>
> --<br>
> Dan Allen<br>
> Senior Software Engineer, Red Hat | Author of Seam in Action<br>
><br>
> <a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
> <a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br>
> <a href="http://in.relation.to/Bloggers/Dan" target="_blank">http://in.relation.to/Bloggers/Dan</a><br>
><br>
> NOTE: While I make a strong effort to keep up with my email on a daily<br>
> basis, personal or other work matters can sometimes keep me away<br>
> from my email. If you contact me, but don't hear back for more than a<br>
> week,<br>
> it is very likely that I am excessively backlogged or the message was<br>
> caught in the spam filters. Please don't hesitate to resend a message<br>
> if<br>
> 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>