| Fine with me. Spring-cache does something similar. {AbstractCacheResolver} will throw an exception when a cache is not found. And they provide a way to correctly create the cache on request with {AbstractCacheManager.getMissingCache} . The default returns {null} . It is the equivalent of {JCacheRegionFactory.createCache} . |