<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Romain,</div><div><br></div><div><br></div><div>I totally agree. Extension are a powerful tool but they are very intimidating to write for newbie : CDI bootstrap lifecycle doesn’t give an impression of easiness ;). I think we should think about a kind of « configuration layer » on top of extension for CDI 2.0 to allow an easier way to create simple extension…</div><div><br></div><div>Antoine</div><div><br></div><br><div><div>Le 16 déc. 2013 à 12:54, Romain Manni-Bucau <<a href="mailto:rmannibucau@gmail.com">rmannibucau@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>Sure! Thks Arne.</p>
<div class="gmail_quote">Le 16 déc. 2013 12:52, "Arne Limburg" <<a href="mailto:arne.limburg@openknowledge.de">arne.limburg@openknowledge.de</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>
<div>I guess, this mail was meant to go to the list ;-)</div>
</div>
</div>
<div><br>
</div>
<span>
<div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">Von: </span>Romain Manni-Bucau <<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>><br>
<span style="font-weight:bold">Datum: </span>Montag, 16. Dezember 2013 12:50<br>
<span style="font-weight:bold">An: </span>Arne Limburg <<a href="mailto:arne.limburg@openknowledge.de" target="_blank">arne.limburg@openknowledge.de</a>><br>
<span style="font-weight:bold">Betreff: </span>Re: [cdi-dev] Producer wrapper<br>
</div>
<div><br>
</div>
<div>
<div><p>I think the main issue is to avoid to make extensions hard/long to write (already too complicated for common stuff IMO) so i dont like this solution.</p><p>It is great to have a clean design...it is better to have something usable. CDI needs to work on the last quickly IMO before adding any feature.<br>
</p>
<div class="gmail_quote">Le 16 déc. 2013 12:38, "Arne Limburg" <<a href="mailto:arne.limburg@openknowledge.de" target="_blank">arne.limburg@openknowledge.de</a>> a écrit :<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
<br>
A simple solution to this topic would be to state in the spec, that, if an<br>
extension replaces an InjectionTarget or Producer it MUST provide a custom<br>
Implementation of an ObserverMethod for every private observer method of<br>
that bean.<br>
WDYT? Maybe we should discuss this in the meeting this evening?<br>
<br>
Regards,<br>
Arne<br>
<br>
Am 12.12.13 16:23 schrieb "Mark Struberg" unter <<a href="mailto:struberg@yahoo.de" target="_blank">struberg@yahoo.de</a>>:<br>
<br>
><br>
>1. Producer / InjectionTarget might create instances which are wrapped in<br>
>proxies.<br>
><br>
>2. event observer methods are allowed to be private and thus are not in<br>
>the proxies.<br>
><br>
>3. extensions are allowed to 'decorate' InjectionTargets and Producers.<br>
><br>
><br>
>This means that we need some unwrap method in the spec, right?<br>
>Currently this does not York.<br>
><br>
>LieGrue,<br>
>strub<br>
><br>
>_______________________________________________<br>
>cdi-dev mailing list<br>
><a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
</blockquote>
</div>
</div>
</div>
</span>
</div>
<br>_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br></blockquote></div>
_______________________________________________<br>cdi-dev mailing list<br><a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/cdi-dev</blockquote></div><br></body></html>