[infinispan-issues] [JBoss JIRA] (ISPN-1636) Have remoted tasks inject services via CDI before execution

Nicolas Filotto (JIRA) jira-events at lists.jboss.org
Mon Jul 30 15:37:07 EDT 2012


    [ https://issues.jboss.org/browse/ISPN-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708777#comment-12708777 ] 

Nicolas Filotto commented on ISPN-1636:
---------------------------------------

I've just checked what you did in the context of this issue and what is weird (functionally speaking) is the fact that in {{WordCountMapReduceCDITest}} you create a {{MapReduceTask}} on a cache called {{mapreducecache}} but what you actually inject in {{WordCountMapper}} and {{WordCountReducer}} is the default cache. I know that when we use the annotation {{Inject}}, we inject the default cache but in this context I personally found it very misleading, I believe that everybody expects to get the cache from which the {{MapReduceTask}} has been created, don't you agree?
                
> Have remoted tasks inject services via CDI before execution
> -----------------------------------------------------------
>
>                 Key: ISPN-1636
>                 URL: https://issues.jboss.org/browse/ISPN-1636
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: CDI integration, Core API
>            Reporter: Sanne Grinovero
>            Assignee: Vladimir Blagojevic
>             Fix For: 5.2.0.ALPHA1, 5.2.0.FINAL
>
>
> Second step if what was discussed on:
> http://infinispan.markmail.org/search/#query:+page:1+mid:3dqf7hvuabttkqli+state:results
> http://community.jboss.org/message/642300#642300
> ISPN-1634 should provide Cache references only, this one should provide anything the CDI container knows about as defined by injection points in the remoted tasks; injection should happen again on each node, avoiding serialization of the injected components.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list