@Override
public void init(CacheLoaderConfiguration config, Cache<?, ?> cache, StreamingMarshaller m) throws CacheLoaderException {
this.configuration = validateConfigurationClass(config, LegacyStoreConfiguration.class);
super.init(config, cache, m);
CacheLoaderConfig legacy = Util.getInstance(configuration.cacheStore().getClass().getAnnotation(CacheLoaderMetadata.class).configurationClass());
if (legacy instanceof AbstractCacheLoaderConfig) {
AbstractCacheLoaderConfig aclc = (AbstractCacheLoaderConfig) legacy;
aclc.setProperties(configuration.properties());
}
XmlConfigHelper.setValues(legacy, configuration.properties(), false, true);