ConfigurationFactory<?> factory = ConfigurationFactory.forClass(
service.getConfigurationClass(), new Validator(), service.getJacksonModules());
configuration = (Configuration) factory.build(temporaryConfigFile);
Environment environment = new Environment(service, configuration);
service.initializeWithBundles(configuration, environment);
server = new ServerFactory(configuration.getHttpConfiguration(),
service.getName()).buildServer(environment);