configuration = ctx.getConfiguration();
loader = configuration.getLoader();
CacheLoaderConfig cacheLoaderConfig = instantiateCacheLoaderConfig(loader.getClass());
XmlConfigHelper.setValues(cacheLoaderConfig, configuration.properties(), false, true);
try {
loader.init(cacheLoaderConfig, ctx.getCache(), new StreamingMarshallerAdapter(ctx.getMarshaller()));
} catch (CacheLoaderException e) {
throw newPersistenceException(e);
}
}