[infinispan-issues] [JBoss JIRA] (ISPN-1636) Have remoted tasks inject services via CDI before execution
Vladimir Blagojevic (JIRA)
jira-events at lists.jboss.org
Thu Jan 19 08:50:18 EST 2012
[ https://issues.jboss.org/browse/ISPN-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660494#comment-12660494 ]
Vladimir Blagojevic commented on ISPN-1636:
-------------------------------------------
Nicolas, I enabled hooks for CDI to be wired into Infinispan MapReduce abstractions, namely Mapper and Reducer, as well as Callable and DistributedCallable from distributed execution framework. But that is only half the work, CDI has to be wired in now (see infinispan-cdi project). Yes, we could enable API contracts to inject services, however, we would have to immediately deprecate them then in 5.2 as CDI would be ready by then. That would be a mess! The best thing you can, the best thing we can all do is to "bribe" Kevin Pollet to hurry up with CDI integration :-)
> 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: Kevin Pollet
> Fix For: 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