if (validatorProvider == null) {
validatorProvider = createDefaultValidatorProvider();
}
List<CommitEditor> editors = new ArrayList<CommitEditor>();
editors.add(new ValidatingEditor(validatorProvider));
CompositeEditor editor = new CompositeEditor(editors);
nodeStore = new KernelNodeStore(microKernel, editor);
QueryIndexProvider qip = (indexProvider == null) ? getDefaultIndexProvider(microKernel) : indexProvider;
queryEngine = new QueryEngineImpl(nodeStore, microKernel, qip);