Package org.infinispan.loaders

Examples of org.infinispan.loaders.AbstractCacheLoaderConfig


      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());
View Full Code Here

TOP

Related Classes of org.infinispan.loaders.AbstractCacheLoaderConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.