2011/4/5 Emmanuel Bernard <emmanuel(a)hibernate.org>:
On 5 avr. 2011, at 12:03, Galder ZamarreƱo wrote:
>>>
>>> - I'm not a big fan of the constructor approach to get QueryFactory for
various reasons (including the fact that it forces a concrete type and no interfaces) but
it seems to be an ISPN-wide design decision
>>> That's definitely something that could be improved in a Seam Infinispan
module.
>>
>> I knew you where going to say that :) but yes this seems to be more
>> Infinispan-style.
>> I've considered something like a Search.getQueryFactory(Cache c) .. WDYT?
>> This wouldn't return a "FullTextCache" but the manager, I see no
>> reason to delegate a cache like we do with a o.h.Session.
>
> Is this Hibernate Search API you're talking about?
Nope, Infinispan.
I think it's looking better indeed:
(search for Search.getSearchManager at url: )
https://github.com/Sanne/infinispan/commit/f8e0a46bb7b4b66af893f74bad358e...
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev