This content has been marked as final.
Show 3 replies
-
1. Re: @Cache annotation for injecting POJO cache?
manik Dec 11, 2009 6:21 AM (in response to kennardconsulting)1 of 1 people found this helpfulWhile this is certainly something a framework should offer (it is, after all, the framework that has access to end-user code, to come across such annotations and inject accordingly), I think Infinispan could make the necessary hooks and helpers available.
-
2. Re: @Cache annotation for injecting POJO cache?
mircea.markus Dec 14, 2009 1:52 PM (in response to kennardconsulting)1 of 1 people found this helpful@Cache(name='my-cache')
private Map<Object, Object> mMyCache;That would even work with maps, more JSR-107 like.
-
3. Re: @Cache annotation for injecting POJO cache?
kennardconsulting Dec 14, 2009 4:08 PM (in response to mircea.markus)Mircea,
Yes - that would be terrific. It would really help people looking to migrate standard, Map-based caches to Infinispan caches.
Regards,
Richard.