/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.uddi.UDDIClient
 *  com.l7tech.uddi.UDDIException
 *  com.l7tech.uddi.WsdlPortInfo
 *  com.l7tech.util.Functions$UnaryThrows
 *  com.l7tech.util.Resolver
 *  com.l7tech.util.ResolvingComparator
 */
package com.l7tech.server.service;

import com.l7tech.server.service.s;
import com.l7tech.server.service.u;
import com.l7tech.uddi.UDDIClient;
import com.l7tech.uddi.UDDIException;
import com.l7tech.uddi.WsdlPortInfo;
import com.l7tech.util.Functions;
import com.l7tech.util.Resolver;
import com.l7tech.util.ResolvingComparator;
import java.util.Arrays;

class t
implements Functions.UnaryThrows<WsdlPortInfo[], UDDIClient, UDDIException> {
    final s this$1;

    t(s s2) {
        this.this$1 = s2;
    }

    public WsdlPortInfo[] call(UDDIClient uDDIClient) throws UDDIException {
        WsdlPortInfo[] wsdlPortInfoArray;
        for (WsdlPortInfo wsdlPortInfo : wsdlPortInfoArray = this.this$1.this$0.c.getWsdlInfoForServiceKey(uDDIClient, this.this$1.val$serviceKey, this.this$1.val$getFirstOnly)) {
            wsdlPortInfo.setUddiRegistryId(this.this$1.val$registryGoid.toHexString());
        }
        Arrays.sort(wsdlPortInfoArray, new ResolvingComparator((Resolver)new u(this), false));
        return wsdlPortInfoArray;
    }
}

