/**
* {@inheritDoc}
*/
public ExoCache createCache(ExoCacheConfig config) throws ExoCacheInitException
{
final ExoCache simple = createCacheInstance(config);
simple.setName(config.getName());
simple.setLabel(config.getLabel());
simple.setMaxSize(config.getMaxSize());
simple.setLiveTime(config.getLiveTime());
// simple.setReplicated(config.isRepicated());
// simple.setDistributed(config.isDistributed());
// if (simple.isDistributed()) {
// simple.addCacheListener(distrbutedListener_);
// }
simple.setLogEnabled(config.isLogEnabled());
if (simple.isLogEnabled())
{
simple.addCacheListener(loggingListener_);
}
return simple;
}