The DEFAULT_CACHE_NAME constant is declared at the BasicCacheContainer level, which is inherited by CacheContainer, so using CacheContainer.DEFAULT_CACHE_NAME works too.