docs: @Override
     public void setCacheManager(EmbeddedCacheManager cm) {
        String name = cacheName.toString();
        if (cm.cacheExists(name)) {
           Cache cache = cm.getCache(name);
           searchFactory = ComponentRegistryUtils.getSearchIntegrator(cache);
           queryInterceptor = ComponentRegistryUtils.getQueryInterceptor(cache);
        } else {
           throw new CacheException("Cache named '" + name + "' does not exist on this CacheManager, or was not started");
        }
     }