[infinispan-dev] Access to default configuration
Vladimir Blagojevic
vblagoje at redhat.com
Mon Feb 22 07:56:38 EST 2010
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?
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
More information about the infinispan-dev
mailing list