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