byURI = new ConcurrentHashMap<URI, JCacheManager>();
cacheManagers.put(classLoader, byURI);
}
cacheManager = byURI.get(uri);
if(cacheManager == null) {
final Configuration configuration = ConfigurationFactory.parseConfiguration(configurationURL);
if(configuration.getName() == null) {
configuration.setName(uri.toString() + "::" + classLoader.toString() + "::" + this.toString());
}
configuration.setClassLoader(classLoader);
final net.sf.ehcache.CacheManager ehcacheManager = new net.sf.ehcache.CacheManager(configuration);
cacheManager = new JCacheManager(this, ehcacheManager, uri, properties);
byURI.put(uri, cacheManager);
}
}