cache.setHasRemoteStore(result.get("remote-store").isDefined());
cache.setHasJdbcStore(result.get("jdbc-store").isDefined());
cache.setHasTransaction(result.get("transaction").isDefined());
if (cache instanceof ReplicatedCache) {
ReplicatedCache repl = (ReplicatedCache)cache;
repl.setHasStateTransfer(result.get("state-transfer").isDefined());
}
entities.add(cache);
}