I agree, sounds like something useful.
LieGrue, strub >________________________________ > From: Thomas Hug <thomas....@gmail.com> >To: "dev@deltaspike.apache.org" <dev@deltaspike.apache.org> >Sent: Tuesday, 17 September 2013, 16:02 >Subject: Re: Data module, full replacement for Seam Factories? > > >Hi Jason >I can confirm there's nothing like that in the data module so far. +1 on >the feature, handy stuff. > > >On Sun, Sep 15, 2013 at 8:04 AM, Romain Manni-Bucau ><rmannibu...@gmail.com>wrote: > >> Got it, thks. >> Le 15 sept. 2013 07:32, "Jason Porter" <lightguard...@gmail.com> a écrit : >> >> > It's an ease of use thing. The big thing we're missing (I think) is the >> > ability to easily setup @Named lists of entities. Seam 2 @Factory did >> this >> > remarkably well and easily. To do this now (again, I've only glanced >> > through the code I think would be responsible for this in the data >> module) >> > you'd need to create a new class for each entity, create a producer and >> > listen for the event. It would be great if we could do that all behind >> the >> > scenes for people and expose it simply with an annotation or class or >> > something similar. >> > >> > >> > On Sat, Sep 14, 2013 at 12:53 AM, Romain Manni-Bucau >> > <rmannibu...@gmail.com>wrote: >> > >> > > Hi >> > > >> > > I dont get the need, using cdi event + repo looks enough. What do I >> miss? >> > > Le 14 sept. 2013 02:04, "Jason Porter" <lightguard...@gmail.com> a >> > écrit : >> > > >> > > > I was looking at >> > > > >> > > > >> > > >> > >> http://stackoverflow.com/questions/18774025/how-can-i-update-a-collection-that-is-produces-applicationscoped >> > > > and >> > > > the data module came to my mind. I just did a quick glance through >> the >> > > code >> > > > I thought was applicable, but I'm still doubtful it'll actually do >> > what I >> > > > want. Can someone correct me if the data module will actually do >> this? >> > > > >> > > > If not, it sure sounds like a killer feature to implement. We'd need >> to >> > > > create events, probably add some more metadata to it, and possibly >> > create >> > > > some beans so there's a concrete class, or perhaps some >> > > InvocationHandlers. >> > > > >> > > > -- >> > > > Jason Porter >> > > > http://en.gravatar.com/lightguardjp >> > > > >> > > >> > >> > >> > >> > -- >> > Jason Porter >> > http://en.gravatar.com/lightguardjp >> > >> > >