{
throw new IllegalArgumentException(
"The DistributedCacheManager has not been defined in the configuration,"
+ " please configure it at root container level if you want to use a distributed cache.");
}
return new DistributedExoCache(ctx, config,
distributedCacheManager.getCache(DistributedExoCache.CACHE_NAME));
}
else
{
cacheManager = this.cacheManager;