//
// do not create cache, if it already exists
if (multiCacheManager.containsCache(name)) {
log.error("Cache of type [" + name + "] already exists.");
} else {
CacheElement element = null;
if (customCaches.contains(name)) {
element = cacheOptions.getDefaultCacheElement();
} else {
element = cacheOptions.getElement(name);
}