this.backupSlave = Boolean.parseBoolean( (String) params.get( BACKUP_SLAVE ) );
this.syncHookFactory = txSyncHookFactory;
this.persistenceModule = new PersistenceModule();
this.cacheManager = new AdaptiveCacheManager();
this.params.put( FileSystemAbstraction.class, fileSystem );
graphDbModule = new GraphDbModule( graphDb, cacheManager, lockManager,
txModule.getTxManager(), idGeneratorModule.getIdGenerator(),
readOnly );
indexStore = new IndexStore( storeDir );
params.put( IndexStore.class, indexStore );