I am new to the group. Where is the source code for CDI 1.1?<div>I can branch it, add this and solicit feedback.</div><div>I think working code is much easier to talk about than bullet points.</div><div><br></div><div><br>
<br><div class="gmail_quote">On Mon, Apr 25, 2011 at 4:07 PM, Rick Hightower <span dir="ltr">&lt;<a href="mailto:richardhightower@gmail.com">richardhightower@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
We need a general purpose way of finding a BeanManager.<div>+1 for me.</div><div><br></div><div>This way should include JNDI lookup to a fallback BeanManagerLocator that uses a ServiceLoader</div><div>+1 for me.</div><div>

<br></div><div>I think the behavior should look like this:</div><div><br></div><div><ul><li>Lookup BeanManager in JNDI</li><li>If not found, try to load BeanManagerLocator from system property.</li><li>If not found, try to load BeanManagerLocator from ServiceLoader.</li>

<li>If more than one BeanManagerLocator found, sort by priority or die if there is more than one. (not sure about the sort, I think it should die, but can be convinced otherwise).</li><li>Once the BeanManagerLocator is found, use it to return a BeanManager</li>

</ul></div><div><br></div><div>In addition,</div><div><br></div><div>I think we need a simplified interface for BeanManager. </div><div><br></div><div><a href="https://github.com/CDISource/cdisource/blob/master/beancontainer/api/src/main/java/org/cdisource/beancontainer/BeanContainer.java" target="_blank">https://github.com/CDISource/cdisource/blob/master/beancontainer/api/src/main/java/org/cdisource/beancontainer/BeanContainer.java</a></div>

<div><br></div><div>This could just be a utility class, but it should be included with CDI 1.1. I think the  BeanManager interface is too low level.</div><div><br></div><font color="#888888"><div><br></div><div><br>-- <br>

<b>Rick Hightower</b><br><a href="tel:%28415%29%20968-9037" value="+14159689037" target="_blank">(415) 968-9037</a> <br><a href="http://www.google.com/profiles/RichardHightower" target="_blank">Profile</a> <br><br>
</div>
</font></blockquote></div><br><br clear="all"><br>-- <br><b>Rick Hightower</b><br>(415) 968-9037 <br><a href="http://www.google.com/profiles/RichardHightower" target="_blank">Profile</a> <br><br>
</div>