@Override
public CacheLoaderConfig unmarshal(AbstractCacheStoreConfig storeConfig) throws Exception {
String clClass = storeConfig.getCacheLoaderClassName();
if (clClass == null || clClass.length()==0)
throw new ConfigurationException("Missing 'class' attribute for cache loader configuration");
CacheLoaderConfig clc;
try {
clc = instantiateCacheLoaderConfig(clClass, storeConfig.getClassLoader());
} catch (Exception e) {
throw new ConfigurationException("Unable to instantiate cache loader or configuration", e);
}
clc.setCacheLoaderClassName(clClass);
Properties props = storeConfig.getProperties();