use of ee.ria.xroad.common.metadata.CentralServiceListType in project X-Road by nordic-institute.
the class MetadataClientRequestProcessor method handleListCentralServices.
private void handleListCentralServices() throws Exception {
log.trace("handleListCentralServices()");
String instanceIdentifier = getInstanceIdentifierFromRequest();
CentralServiceListType list = OBJECT_FACTORY.createCentralServiceListType();
list.getCentralService().addAll(GlobalConf.getCentralServices(instanceIdentifier));
writeResponseXml(OBJECT_FACTORY.createCentralServiceList(list));
}
Aggregations