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

import com.l7tech.server.service.ServiceAdminImpl;
import com.l7tech.uddi.UDDIClient;
import com.l7tech.uddi.UDDIException;
import com.l7tech.uddi.UDDINamedEntity;
import com.l7tech.util.Functions;
import java.util.Collection;

class q
implements Functions.UnaryThrows<UDDINamedEntity[], UDDIClient, UDDIException> {
    final String val$namePattern;
    final ServiceAdminImpl this$0;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    q(ServiceAdminImpl serviceAdminImpl, String string) {
        this.this$0 = serviceAdminImpl;
        this.val$namePattern = string;
    }

    public UDDINamedEntity[] call(UDDIClient uDDIClient) throws UDDIException {
        Collection collection = uDDIClient.listPolicies(this.val$namePattern, null);
        UDDINamedEntity[] uDDINamedEntityArray = collection.toArray(new UDDINamedEntity[collection.size()]);
        this.this$0.a(uDDINamedEntityArray);
        return uDDINamedEntityArray;
    }
}

