delegating_cache.getConfiguration().setCacheMode(Configuration.CacheMode.LOCAL);
delegating_cache.create();
delegating_cache.start();
delegating_cacheTL.set(delegating_cache);
LocalDelegatingCacheLoaderConfig cfg = new LocalDelegatingCacheLoaderConfig();
cfg.setDelegate(delegating_cache);
cfg.setAsync(false);
cfg.setFetchPersistentState(false);
CacheLoaderConfig cacheLoaderConfig = new CacheLoaderConfig();
cacheLoaderConfig.addIndividualCacheLoaderConfig(cfg);
cacheLoaderConfig.setPassivation(true);
CacheSPI<Object, Object> cache = cacheTL.get();
cache.getConfiguration().setCacheLoaderConfig(cacheLoaderConfig);