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