docs: @Override
     public void cacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName) {
        BasicComponentRegistry gcr = cr.getGlobalComponentRegistry().getComponent(BasicComponentRegistry.class);
        InternalCacheRegistry icr = gcr.getComponent(InternalCacheRegistry.class).running();
        if (!icr.isInternalCache(cacheName)) {
           ProtobufMetadataManagerImpl protobufMetadataManager =
              (ProtobufMetadataManagerImpl) gcr.getComponent(ProtobufMetadataManager.class).running();
           protobufMetadataManager.addCacheDependency(cacheName);
  
           SerializationContext serCtx = protobufMetadataManager.getSerializationContext();
           RemoteQueryManager remoteQueryManager = buildQueryManager(cfg, serCtx, cr);
           cr.registerComponent(remoteQueryManager, RemoteQueryManager.class);
  
        }
     }