Im' producing SessionScoped bean with them and made successful tests for Application
scoped as well. They were a solution for me to deal with injection point in non dependent
scope beans. The other advantage for me is to provide one producer bean instead of n (one
by services) and avoid third party developer who integrate new social service to deal with
this plumbing.
regards,
Antoine
Le 23 déc. 2011 à 10:30, Mark Struberg a écrit :
I might not have checked the whole stuff behind GenericBean, but they
can only produce @Dependent contextual instances, right?
Thus where is the difference to just create a producer method which examines the
InjectionPoint, looks up any annotation and then does the appropriate stuff in there. This
must work on any container and is perfectly easy imo. What is the benefit of using
GenericBean instead?
LieGrue,
strub
> ________________________________
> From: Antoine Sabot-Durand <antoine(a)sabot-durand.net>
> To: seam-dev(a)lists.jboss.org
> Sent: Friday, December 23, 2011 9:45 AM
> Subject: Re: [seam-dev] Generic Beans Advocacy in Deltaspike
>
>
> Thanks Dan,
>
>
> I also have family of object in Social for each services, that's why I use them.
In the meantime I learn from Jason that they have issues (test won't pass) on some
containers (including JBoss). I'm ready to give some help maintaining them but
won't see me maintain them alone as I took them to help me in the first place ;-).
>
>
> regards,
>
>
> Antoine SABOT-DURAND
> ---------------------------------------
> Blog :
http://www.next-presso.fr
> Twitter ;
http://twitter.com/antoine_sd
> LinkedIn :
http://fr.linkedin.com/in/antoinesabotdurand
> 06 08 55 34 26
>
>
>
>
> Le 23 déc. 2011 à 05:54, Dan Allen a écrit :
>
> I'm just speaking off the top of my head here, but I may be able to give you a
lead. I'm pretty sure that the generic beans were originally designed with the intent
of using them in for the Drools module. Granted, that module is now gone, but I wonder
whether the team still intends on using that feature to register and configure the family
of objects needed for Drools to operate.
>>
>>
>> -Dan
>>
>>
>> On Tue, Dec 20, 2011 at 16:00, Antoine Sabot-Durand
<antoine(a)sabot-durand.net> wrote:
>>
>> Hi all,
>>>
>>>
>>> As I use them in Social, I'm in charge to demonstrate the usefulness of
Solder Generic Bean for Delta Spike to keep them. I was wondering if someone else used
these in other modules. If you did, could you give me information about the use case that
Generic helped to solve ?
>>>
>>>
>>> Thanks a lot,
>>>
>>>
>>> Antoine SABOT-DURAND
>>> ---------------------------------------
>>> Blog :
http://www.next-presso.fr
>>> Twitter ;
http://twitter.com/antoine_sd
>>> LinkedIn :
http://fr.linkedin.com/in/antoinesabotdurand
>>> 06 08 55 34 26
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> seam-dev mailing list
>>> seam-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/seam-dev
>>>
>>>
>>
>>
>>
>> --
>>
>> Dan AllenPrincipal Software Engineer, Red Hat | Author of Seam in Action
>> Registered Linux User #231597
>>
>>
>>
http://www.google.com/profiles/dan.j.allen#about
>>
http://mojavelinux.com/
>>
http://mojavelinux.com/seaminaction
>>
>>
>
> _______________________________________________
> seam-dev mailing list
> seam-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/seam-dev
>
>
>
_______________________________________________
seam-dev mailing list
seam-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-dev