[infinispan-dev] Access to default configuration

Manik Surtani manik at jboss.org
Mon Feb 22 08:19:20 EST 2010


On 22 Feb 2010, at 12:56, Vladimir Blagojevic wrote:

> I think we should remove reference to DefaultConfiguration from GlobalConfiguration. It's just unnatural and the only reason it's there is legacy. I'd move that DefaultConfiguration reference into DefaultCacheManager and add signature to CacheManager of getDefaultConfiguration. 
> 
> I quickly glanced over dependencies in entire source code base and the changes would be minimal.
> 
> WDYT?

Yeah I agree with you, this makes sense.  Care to make the changes in trunk?

> 
> 
> On 2010-02-22, at 6:57 AM, Manik Surtani wrote:
> 
>> 
>> On 19 Feb 2010, at 21:43, Vladimir Blagojevic wrote:
>> 
>>> Hi,
>>> 
>>> Is there a way to access default cache configuration from CacheManager? If not, why not?
>> 
>> 
>> CacheManager.getGlobalConfiguration().getDefaultConfiguration()
>> 
>> 
>> --
>> Manik Surtani
>> manik at jboss.org
>> Lead, Infinispan
>> Lead, JBoss Cache
>> http://www.infinispan.org
>> http://www.jbosscache.org
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
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