managed.registerCache(simple);
}
// If the flag avoid value replication is enabled and the cache is replicated
// or distributed we wrap the eXo cache instance into an InvalidationExoCache
// to enable the invalidation
return safeConfig.avoidValueReplication() && (safeConfig.isRepicated() || safeConfig.isDistributed())
? new InvalidationExoCache(simple) : simple;
}
public Collection<ExoCache<? extends Serializable, ?>> getAllCacheInstances()
{