private RuntimeEnvironment createEnvironment(ServletContext servletContext, Runtime runtime) {
return new RuntimeEnvironment(runtime).initDefaultContent();
}
private Resolver registerResolverService(Runtime runtime) {
Resolver resolver = new DefaultResolver();
ModuleContext syscontext = runtime.getModuleContext();
resolverRegistration = syscontext.registerService(Resolver.class, resolver, null);
return resolver;
}