Search in sources :

Example 1 with CentralServiceListType

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));
}
Also used : CentralServiceListType(ee.ria.xroad.common.metadata.CentralServiceListType)

Aggregations

CentralServiceListType (ee.ria.xroad.common.metadata.CentralServiceListType)1