defaultWorkspaceName, indexEditors, indexProvider,
CompositeHook.compose(initHooks));
// add index hooks later to prevent the OakInitializer to do excessive indexing
with(new IndexUpdateProvider(indexEditors));
with(new EventQueueWriterProvider());
withEditorHook();
CommitHook commitHook = CompositeHook.compose(commitHooks);
return new ContentRepositoryImpl(
store,
commitHook,