" <loader class=\"org.jboss.cache.loader.testloaders.DummySharedInMemoryCacheLoader\" fetchPersistentState=\"false\"\n" +
" purgeOnStartup=\"false\">\n" +
" <properties>bin=" + getClass()+ "bin2</properties>\n" +
" </loader>" +
" </loaders>";
LoadersElementParser parser = new LoadersElementParser();
CacheLoaderConfig cacheLoaderConfig = parser.parseLoadersElement(XmlConfigHelper.stringToElementInCoreNS(xml));
Configuration c = cache.getConfiguration();
c.setCacheLoaderConfig(cacheLoaderConfig);
cache.start();
cache.put(fqn, key, value);