<div class="gmail_quote">On Thu, Mar 24, 2011 at 16:56, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
Talking with Seam/CDI tooling team at EclipseCon and we are still in the dark on how tooling are supposed to identify CDI extensions that are registered programmatically and often does not have a beans.xml to &quot;mark&quot; them.<br>


<br>
Today we do it by simply scanning jars with *weld*.jar naming pattern (very brittle and not good for 3rd party extensions).<br>
<br>
Furthermore we also have a list of classes to include/exclude since some components in these jars aren&#39;t CDI compliant.<br>
<br>
How do we go about identifying these things ?<br>
<br>
The idea discussed with Dan/Pete on this topic previously were to add a design-beans.xml<br>
and use that as a marker + list the classes we should load/configure as possible injection/navigation candidates in the tooling.<br>
<br>
I was hoping this were settled before Seam 3 GA but it seem to fallen through the cracks ?<br></blockquote><div><br></div><div>I can say that settling anything before Seam 3.0.0 is darn near an impossibility. We&#39;ll have to do everything we can just to complete what we already have before that date.</div>

<div><br></div><div>For now, the best we can do is make sure we @Veto beans that should not be injectable. We can ask module leads to do a quick review and try to use that annotation in obvious places to clean up suggestions in JBoss Tools as much as possible. Otherwise, we&#39;ll have to just communicate to you as much as possible about how to grok the logic that Solder is applying to the programming model (such as generic and default beans).</div>

<div><br></div><div>-Dan</div><div><br></div></div>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><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></div><br>