Romain,


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…

Antoine


Le 16 déc. 2013 à 12:54, Romain Manni-Bucau <rmannibucau@gmail.com> a écrit :

Sure! Thks Arne.

Le 16 déc. 2013 12:52, "Arne Limburg" <arne.limburg@openknowledge.de> a écrit :
I guess, this mail was meant to go to the list ;-)

Von: Romain Manni-Bucau <rmannibucau@gmail.com>
Datum: Montag, 16. Dezember 2013 12:50
An: Arne Limburg <arne.limburg@openknowledge.de>
Betreff: Re: [cdi-dev] Producer wrapper

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.

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.

Le 16 déc. 2013 12:38, "Arne Limburg" <arne.limburg@openknowledge.de> a écrit :
Hi,


A simple solution to this topic would be to state in the spec, that, if an
extension replaces an InjectionTarget or Producer it MUST provide a custom
Implementation of an ObserverMethod for every private observer method of
that bean.
WDYT? Maybe we should discuss this in the meeting this evening?

Regards,
Arne

Am 12.12.13 16:23 schrieb "Mark Struberg" unter <struberg@yahoo.de>:

>
>1. Producer / InjectionTarget might create instances which are wrapped in
>proxies.
>
>2. event observer methods are allowed to be private and thus are not in
>the proxies.
>
>3. extensions are allowed to 'decorate' InjectionTargets and Producers.
>
>
>This means that we need some unwrap method in the spec, right?
>Currently this does not York.
>
>LieGrue,
>strub
>
>_______________________________________________
>cdi-dev mailing list
>cdi-dev@lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/cdi-dev


_______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev

_______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev
_______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev