[infinispan-dev] Flexible configuration

Manik Surtani manik at jboss.org
Wed Nov 10 09:10:02 EST 2010


On 10 Nov 2010, at 14:04, Tristan Tarrant wrote:

> Yes. But since the connection pool provider has tens of properties, that may change in the future, I don't want to "pollute" the CacheStoreConfig object with useless proxy setters.
> I could use a separate XML or properties file for the connection pool in a similar way to what the JDBC driver does for C3P0 configuration.

I see what you mean now.  I did something similar for the BdbjeCacheStore, where I used a property to point to an external props file for Bdbje props.  And AFAIK the RemoteCacheStore does something similar as well.

Cheers
Manik
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list