Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Dev List »

Re: [hibernate-dev] Configuration for Infinispan cache working as
 directory provider in HSearch

Sanne Grinovero

2009-08-13

Replies: Find Java Web Hosting

Author LoginPost Reply
+1
very nice!

but having the same property key for both classname or xml? And will
there be a working default (like auto-discovery) ?


2009/8/14 Łukasz Moreń <lukasz.moren@(protected)>:
> I was thinking that maybe we can expose full conf options. Infinispan
> supports programmatical and xml ways to configure cache.
> To achieve first one, could be created some interface with factory method
> that returns cache. User can implement that and create cache as he wants.
> Something like that:
> <property
> name="hibernate.search.infinispan.conf"  value="org.hibernate.search.store.infinispan.CacheFactoryImpl"
> />
> and for xml
> <property name="hibernate.search.infinispan.conf"  value="xml-conf.xml" />
>
>>
>> Exposing some configuration to infinispan makes sense. can you start a
>> thread explainig what is configurable and which one you think we should
>> expose to hsearch users. Ideally I would like to offer one or two defaut
>> config scenarios and allow to fallback to a custom config.
>
> Cheers,
> Lukasz Moren
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev@(protected)
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>

_______________________________________________
hibernate-dev mailing list
hibernate-dev@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-dev
©2008 gg3721.com - Jax Systems, LLC, U.S.A.