private void addServlets(MicroKernel kernel, String path) {
ContentRepository repository =
new ContentRepositoryImpl(kernel, null, buildDefaultCommitEditor());
ServletHolder oak =
new ServletHolder(new OakServlet(repository));
context.addServlet(oak, path + "/*");
final Repository jcrRepository = new RepositoryImpl(
repository, Executors.newScheduledThreadPool(1));