use of com.yahoo.vespa.model.generic.service.Service in project vespa by vespa-engine.
the class DomServiceBuilder method doBuild.
@Override
protected com.yahoo.vespa.model.generic.service.Service doBuild(AbstractConfigProducer parent, Element serviceSpec) {
ServiceCluster sc = (ServiceCluster) parent;
com.yahoo.vespa.model.generic.service.Service service = new com.yahoo.vespa.model.generic.service.Service(sc, i + "");
for (Element subServiceSpec : XML.getChildren(serviceSpec, "module")) {
new DomModuleBuilder(subServiceSpec.getAttribute("name")).build(service, subServiceSpec);
}
return service;
}
Aggregations