package com.l7tech.server.service;

import com.l7tech.uddi.UDDIClient;
import com.l7tech.uddi.UDDIException;
import com.l7tech.uddi.UDDINamedEntity;
import com.l7tech.util.Functions.UnaryThrows;
import java.util.Collection;

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

   q(ServiceAdminImpl var1, String var2) {
      this.this$0 = var1;
      this.val$namePattern = var2;
   }

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