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);
if (legacy instanceof AbstractCacheStoreConfig) {
AbstractCacheStoreConfig acsc = (AbstractCacheStoreConfig) legacy;
acsc.fetchPersistentState(configuration.fetchPersistentState());