<html><body bgcolor="#FFFFFF"><div>@Dependent<br><br>Sent from my iPhone</div><div><br>On Mar 4, 2010, at 3:59 PM, "Lincoln Baxter, III" &lt;<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>Does CDI come out of the box with an equivalent of Spring's "Prototype" scope, which means that wherever injection is requested, a new instance of the class is provided?<br><br>Is that what <br><pre class="JAVA"><span class="java_plain"><a id="d0e1838">@</a></span><span class="java_type"><a id="d0e1838">Inject</a></span><span class="java_plain"><a id="d0e1838">&nbsp;@</a></span><span class="java_type"><a id="d0e1838">New MyType instance;</a></span></pre>
would be used for?<br><br>Could this be simplified by removing the need for @Inject, and requiring only @New?<br><br>Thanks,<br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com"><a href="http://ocpsoft.com">http://ocpsoft.com</a></a><br>
<a href="http://scrumshark.com"><a href="http://scrumshark.com">http://scrumshark.com</a></a><br>"Keep it Simple"<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>weld-dev mailing list</span><br><span><a href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/weld-dev">https://lists.jboss.org/mailman/listinfo/weld-dev</a></span></div></blockquote></body></html>