runnableArgs.put("service.datasets", serializedDatasets);
for (HttpServiceHandler handler : handlers) {
handlerNames.add(handler.getClass().getName());
// call the configure method of the HTTP Handler
DefaultHttpServiceHandlerConfigurer configurer = new DefaultHttpServiceHandlerConfigurer(handler);
handler.configure(configurer);
specs.add(configurer.createHttpServiceSpec());
}
runnableArgs.put(CONF_HANDLER, GSON.toJson(handlerNames));
runnableArgs.put(CONF_SPEC, GSON.toJson(specs));
runnableArgs.put(CONF_APP, appName);
return TwillRunnableSpecification.Builder.with()