[infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

Manik Surtani msurtani at redhat.com
Fri May 10 04:53:30 EDT 2013


On 9 May 2013, at 20:56, Dan Berindei <dan.berindei at gmail.com> wrote:

> Couldn't you change CacheLoaderManager to call ComponentRegistry.wireDependencies(cacheStore)? 
> 
> That way, each cache store could have a separate @Inject method, and it could depend on any cache-scoped or global-scoped component. It may require an infinispan-module.properties file in each cache store module, but it then it could be used for any other component.

-1.  That would expose the injection fwk to custom cache store impls.  Unless you're assuming that custom impls would't use the TimeService (since it isn't public API), and just call System.nanoTime() directly?

--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Platform Architect, JBoss Data Grid
http://red.ht/data-grid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20130510/7be2b157/attachment.html 


More information about the infinispan-dev mailing list