Like Arnold Schwarzenegger, let&#39;s call it the @Instantiator<br><br>;)<br><br><div class="gmail_quote">On Tue, Jun 8, 2010 at 8:39 PM, Dan Allen <span dir="ltr">&lt;<a href="mailto:dan.j.allen@gmail.com" target="_blank">dan.j.allen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div>On Tue, Jun 8, 2010 at 8:29 PM, Stuart Douglas <span dir="ltr">&lt;<a href="mailto:stuart@baileyroberts.com.au" target="_blank">stuart@baileyroberts.com.au</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I tried that, it did not work in weld, and according to the spec it is not required to work.<br>
<br>
We need the scope to be a Normal scope as we are after a client proxy, however according to the spec normal scopes need to follow the rules that I included below.<br></blockquote><div><br></div></div><div>Ah, got it now.</div>

<div>
<div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I talked to Pete about this and I am going to resurrect the @ManagedProducer stuff I did in WELDX a while ago, but with javassist rather than JDK proxies. These work by injecting a dependent scoped proxy into the bean, and the proxy calls the @ManagedProducer method every time to get the instance to invoke the method on. This also has the advantage that you can inject the InjectionPoint into the @ManagedProducer method.<br>


</blockquote><div><br></div></div><div>Cool.</div><div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I am not totally sold on the name @ManagedProducer, but as previously discussed making up names is not really my strong point :-)<br></blockquote><div><br></div></div><div>To be honest, names are just tough in general. I&#39;ve got a couple of suggestions:</div>


<div><br></div><div>PerpetualProducer</div><div>ContinuousProducer</div><div>Activator</div><div>Regenerator</div><div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<br>
I committed an initial implementation last night, it still needs a bit more work but it should be functional.<br></blockquote><div><br></div></div><div>As always, great job!</div><div><br></div><div>-Dan</div><div><br></div>

</div><font color="#888888">
-- <br></font><div><div></div><div>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<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://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>
</div></div><br>_______________________________________________<br>
seam-dev mailing list<br>
<a href="mailto:seam-dev@lists.jboss.org" target="_blank">seam-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/seam-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/seam-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br><a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
&quot;Keep it Simple&quot;<br>