public static CacheLoaderConfig buildSingleCacheLoaderConfig(boolean passivation, String preload, String cacheloaderClass,
String properties, boolean async, boolean fetchPersistentState,
boolean shared, boolean purgeOnStartup, boolean ignoreModifications) throws Exception
{
CacheLoaderConfig clc = new CacheLoaderConfig();
IndividualCacheLoaderConfig iclc = new IndividualCacheLoaderConfig();
iclc.setClassName(cacheloaderClass);
iclc.setAsync(async);
iclc.setFetchPersistentState(fetchPersistentState);
iclc.setPurgeOnStartup(purgeOnStartup);
iclc.setIgnoreModifications(ignoreModifications);
iclc.setProperties(properties);
clc.addIndividualCacheLoaderConfig(iclc);
clc.setPassivation(passivation);
clc.setShared(shared);
clc.setPreload(preload);
return clc;
}