@Override
public void initialize(Properties props, WorkerBuildContext context, DirectoryBasedIndexManager indexManager) {
this.indexManager = indexManager;
LocalBackendFactory localBackendFactory = new SimpleLocalBackendFactory(indexManager, props, context);
serviceManager = context.getServiceManager();
CacheManagerService cacheManagerService = serviceManager.requestService(CacheManagerService.class);
this.indexName = indexManager.getIndexName();
ComponentRegistryService componentRegistryService = serviceManager.requestService(ComponentRegistryService.class);
ComponentRegistry componentRegistry = componentRegistryService.getComponentRegistry();
this.fowardingBackend = createForwardingBackend(props, componentRegistry, indexName, localBackendFactory, cacheManagerService, indexManager);
log.commandsBackendInitialized(indexName);