initHooks.add(new EditorHook(CompositeEditorProvider
.compose(editorProviders)));
if (asyncIndexing) {
String name = "async";
AsyncIndexUpdate task = new AsyncIndexUpdate(name, store,
indexEditors);
scheduleWithFixedDelay(whiteboard, task, 5, true);
registerMBean(whiteboard, IndexStatsMBean.class,
task.getIndexStats(), IndexStatsMBean.TYPE, name);
name = "async-reindex";
task = new AsyncIndexUpdate(name, store, indexEditors, true);
scheduleWithFixedDelay(whiteboard, task, 5, true);
registerMBean(whiteboard, IndexStatsMBean.class,
task.getIndexStats(), IndexStatsMBean.TYPE, name);
}
registerMBean(whiteboard, QueryEngineSettingsMBean.class,
queryEngineSettings, QueryEngineSettingsMBean.TYPE, "settings");