On 09/03/2009 11:34 PM, Łukasz Moreń wrote:
I am thinking how to provide programmatic configuration into
Hibernate
Search for many caches, i.e. if user wants to use different configured
caches for each index.With XML it is ok, in one file can be configured many
named caches. So far in programmatic version user have to implement method
that returns Configuration object - only one configuration can be provided
that way.
I'm confused here, what Configuration are you taking about here? An
Infinispan one or HS one? And implementing method in which interface are
you refering to, CacheManager?
To achieve this same what in XML case, method should return something
like:
List<{cacheName}, {configuration}>. It is quite painfull, but on the other
hand just extra feature. Some other ideas?
Again, method in what class?
Cheers,
Lukasz Moren
------------------------------------------------------------------------
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache