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.