added prefix for guava cache classes

This commit is contained in:
Sebastian Sdorra
2013-03-25 10:56:39 +01:00
parent 09d4ea87af
commit 2a273f0f84
8 changed files with 57 additions and 49 deletions

View File

@@ -67,12 +67,12 @@ public class GuavaCacheManager implements CacheManager
*/
public GuavaCacheManager()
{
CacheConfigurationReader reader = new CacheConfigurationReader();
CacheManagerConfiguration config = reader.read();
GuavaCacheConfigurationReader reader = new GuavaCacheConfigurationReader();
GuavaCacheManagerConfiguration config = reader.read();
defaultConfiguration = config.getDefaultCache();
for (NamedCacheConfiguration ncc : config.getCaches())
for (GuavaNamedCacheConfiguration ncc : config.getCaches())
{
cacheMap.put(ncc.getName(), new GuavaCache(ncc));
}
@@ -139,5 +139,5 @@ public class GuavaCacheManager implements CacheManager
private Map<String, GuavaCache> cacheMap = Maps.newConcurrentMap();
/** Field description */
private CacheConfiguration defaultConfiguration;
private GuavaCacheConfiguration defaultConfiguration;
}