[seam-dev] Generic Beans Advocacy in Deltaspike

Mark Struberg struberg at yahoo.de
Fri Dec 23 04:30:52 EST 2011


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 at sabot-durand.net>
>To: seam-dev at 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 at 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 at 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 at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/seam-dev
>
>
>



More information about the seam-dev mailing list