Are you asking what else needs to be added to the Mapper and Reducer interfaces to make
them CDI-friendly so that implementations can have stuff injected? I suspect nothing need
be done except that on the receiving node, if these implementations are annotated as CDI
beans, then they should be passed to the CDI container for proper setup before being
used.
On 20 Dec 2011, at 14:00, Vladimir Blagojevic wrote:
Sure,
I'd like to hear Pete's opinion here. Can we inject pretty much anything
from application scope or do we have to do something special in Mapper
and Reducer to prepare objects that can be injected? I'd rather leave
interfaces as they are and use injection mechanism to inject objects
needed by implementors of Mapper and Reducer. Today it is cache,
tomorrow people will ask for something else...and it seems to me
injection mechanism is the way to go here!
Pete?
Vladimir
On 11-12-20 10:55 AM, Manik Surtani wrote:
> Vladimir, for you? :)
>
> On 20 Dec 2011, at 13:21, Sanne Grinovero wrote:
>
>> On 20 December 2011 14:07, Manik Surtani<manik(a)jboss.org> wrote:
>>> Yup, I agree. Care to create JIRAs for these two? I think the first one
(adding a cache reference to the task) should be for 5.1.0.
>>
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org