TxIdGeneratorFactory txIdFactory, TxFinishHook finishHook,
LastCommittedTxIdSetter lastCommittedTxIdSetter, FileSystemAbstraction fileSystem )
{
this.storeDir = storeDir;
TxModule txModule = newTxModule( inputParams, finishHook );
LockManager lockManager = lockManagerFactory.create( txModule );
LockReleaser lockReleaser = new LockReleaser( lockManager, txModule.getTxManager() );
final Config config = new Config( graphDbService, storeDir, storeId, inputParams,
kernelPanicEventGenerator, txModule, lockManager, lockReleaser, idGeneratorFactory,
new SyncHookFactory(), relTypeCreator, txIdFactory.create( txModule.getTxManager() ),
lastCommittedTxIdSetter, fileSystem );