CacheLoader l = createCacheLoader(LegacyConfigurationAdaptor.adapt(cfg), cache);
ccl.addCacheLoader(l, cfg);
}
} else {
if (!clmConfig.cacheLoaders().isEmpty()) {
AbstractLoaderConfiguration cfg = clmConfig.cacheLoaders().get(0);
tmpLoader = createCacheLoader(LegacyConfigurationAdaptor.adapt(cfg), cache);
if (cfg instanceof CacheStoreConfig)
assertNotSingletonAndShared(cfg);
} else {
return null;