[infinispan-issues] [JBoss JIRA] Commented: (ISPN-996) Create an infinispan-cdi module containing integration with CDI
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Apr 12 09:44:34 EDT 2011
[ https://issues.jboss.org/browse/ISPN-996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595006#comment-12595006 ]
Pete Muir commented on ISPN-996:
--------------------------------
Obvious issue here which is why this isn't in phase 1 is that Infinispan is not like JBoss POJO Cache and won't update the object in the cache when changes are made to the reference, the user needs to explicitly push the object back into the cache. So given
{{code}}
@CacheScoped class Foo {
String name;
//getters and setters
}
class Bar {
@Inject void init(Foo foo) {foo.setName("George");}
}
{{code}}
How does this updated copy of foo get back into the cache?
> Create an infinispan-cdi module containing integration with CDI
> ---------------------------------------------------------------
>
> Key: ISPN-996
> URL: https://issues.jboss.org/browse/ISPN-996
> Project: Infinispan
> Issue Type: Feature Request
> Components: CDI integration
> Reporter: Manik Surtani
> Assignee: Pete Muir
> Fix For: 5.0.0.CR1, 5.0.0.FINAL
>
>
> Depends on SEAM-45
> * Cache definition, configuration and injection
> * Caching content of producer methods on beans
> * Wiki/screencast to demonstrate usage
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list