package com.l7tech.server.uddi;

import com.l7tech.gateway.common.audit.SystemMessages;
import com.l7tech.gateway.common.audit.Messages.M;
import com.l7tech.gateway.common.uddi.UDDIProxiedServiceInfo;
import com.l7tech.gateway.common.uddi.UDDIPublishStatus;
import com.l7tech.gateway.common.uddi.UDDIRegistry;
import com.l7tech.gateway.common.uddi.UDDIServiceControl;
import com.l7tech.gateway.common.uddi.UDDIProxiedServiceInfo.PublishType;
import com.l7tech.gateway.common.uddi.UDDIPublishStatus.PublishStatus;
import com.l7tech.gateway.common.uddi.UDDIRegistry.UDDIRegistryType;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.ObjectModelException;
import com.l7tech.objectmodel.UpdateException;
import com.l7tech.server.service.ServiceCache;
import com.l7tech.uddi.UDDIClient;
import com.l7tech.uddi.UDDIRegistrySpecificMetaData;
import com.l7tech.util.Config;
import com.l7tech.util.ExceptionUtils;
import java.util.logging.Logger;

public class PublishingUDDITaskFactory extends UDDITaskFactory {
   private final UDDIRegistryManager a;
   private final UDDIProxiedServiceInfoManager b;
   private final UDDIPublishStatusManager c;
   private final ServiceCache d;
   private final UDDIHelper e;
   private final UDDIServiceControlManager f;
   private final Config g;
   private static final Logger h;
   private static final String[] i;

   public PublishingUDDITaskFactory(
      UDDIRegistryManager var1,
      UDDIProxiedServiceInfoManager var2,
      ServiceCache var3,
      UDDIHelper var4,
      UDDIServiceControlManager var5,
      UDDIPublishStatusManager var6,
      Config var7
   ) {
      this.a = var1;
      this.b = var2;
      this.d = var3;
      this.e = var4;
      this.f = var5;
      this.c = var6;
      this.g = var7;
   }

   @Override
   public UDDITaskFactory.UDDITask buildUDDITask(o param1) {
      // $VF: Couldn't be decompiled
      // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
      // java.lang.RuntimeException: parsing failure!
      //   at org.jetbrains.java.decompiler.modules.decompiler.decompose.DomHelper.parseGraph(DomHelper.java:211)
      //   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:174)
      //
      // Bytecode:
      // 000: aconst_null
      // 001: astore 2
      // 002: aload 1
      // 003: instanceof com/l7tech/server/uddi/q
      // 006: ifeq 283
      // 009: aload 1
      // 00a: checkcast com/l7tech/server/uddi/q
      // 00d: astore 3
      // 00e: aload 3
      // 00f: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 012: astore 4
      // 014: aload 3
      // 015: invokevirtual com/l7tech/server/uddi/q.b ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus;
      // 018: astore 5
      // 01a: getstatic com/l7tech/server/uddi/b.a [I
      // 01d: aload 4
      // 01f: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getPublishType ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo$PublishType;
      // 022: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo$PublishType.ordinal ()I
      // 025: iaload
      // 026: tableswitch 605 1 3 26 138 376
      // 040: aload 5
      // 042: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 045: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 048: if_acmpeq 064
      // 04b: goto 052
      // 04e: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 051: athrow
      // 052: aload 5
      // 054: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 057: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 05a: if_acmpne 080
      // 05d: goto 064
      // 060: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 063: athrow
      // 064: aload 0
      // 065: getfield com/l7tech/server/uddi/PublishingUDDITaskFactory.d Lcom/l7tech/server/service/ServiceCache;
      // 068: aload 4
      // 06a: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getPublishedServiceGoid ()Lcom/l7tech/objectmodel/Goid;
      // 06d: invokevirtual com/l7tech/server/service/ServiceCache.getCachedService (Lcom/l7tech/objectmodel/Goid;)Lcom/l7tech/gateway/common/service/PublishedService;
      // 070: astore 6
      // 072: new com/l7tech/server/uddi/aa
      // 075: dup
      // 076: aload 0
      // 077: aload 6
      // 079: invokespecial com/l7tech/server/uddi/aa.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/gateway/common/service/PublishedService;)V
      // 07c: astore 2
      // 07d: goto 283
      // 080: aload 5
      // 082: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 085: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 088: if_acmpeq 09d
      // 08b: aload 5
      // 08d: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 090: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 093: if_acmpne 283
      // 096: goto 09d
      // 099: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 09c: athrow
      // 09d: new com/l7tech/server/uddi/w
      // 0a0: dup
      // 0a1: aload 0
      // 0a2: aload 3
      // 0a3: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 0a6: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 0a9: invokespecial com/l7tech/server/uddi/w.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/objectmodel/Goid;)V
      // 0ac: astore 2
      // 0ad: goto 283
      // 0b0: aload 4
      // 0b2: getstatic com/l7tech/server/uddi/PublishingUDDITaskFactory.i [Ljava/lang/String;
      // 0b5: astore 10
      // 0b7: aload 10
      // 0b9: bipush 0
      // 0ba: aaload
      // 0bb: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getProperty (Ljava/lang/String;)Ljava/lang/Object;
      // 0be: checkcast java/lang/Boolean
      // 0c1: astore 6
      // 0c3: aload 6
      // 0c5: ifnull 13e
      // 0c8: aload 6
      // 0ca: invokevirtual java/lang/Boolean.booleanValue ()Z
      // 0cd: ifeq 13e
      // 0d0: goto 0d7
      // 0d3: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 0d6: athrow
      // 0d7: aload 5
      // 0d9: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 0dc: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 0df: if_acmpeq 0fb
      // 0e2: goto 0e9
      // 0e5: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 0e8: athrow
      // 0e9: aload 5
      // 0eb: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 0ee: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 0f1: if_acmpne 10e
      // 0f4: goto 0fb
      // 0f7: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 0fa: athrow
      // 0fb: new com/l7tech/server/uddi/ac
      // 0fe: dup
      // 0ff: aload 0
      // 100: aload 3
      // 101: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 104: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 107: invokespecial com/l7tech/server/uddi/ac.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/objectmodel/Goid;)V
      // 10a: astore 2
      // 10b: goto 283
      // 10e: aload 5
      // 110: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 113: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 116: if_acmpeq 12b
      // 119: aload 5
      // 11b: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 11e: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 121: if_acmpne 283
      // 124: goto 12b
      // 127: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 12a: athrow
      // 12b: new com/l7tech/server/uddi/y
      // 12e: dup
      // 12f: aload 0
      // 130: aload 3
      // 131: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 134: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 137: invokespecial com/l7tech/server/uddi/y.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/objectmodel/Goid;)V
      // 13a: astore 2
      // 13b: goto 283
      // 13e: aload 5
      // 140: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 143: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 146: if_acmpeq 15b
      // 149: aload 5
      // 14b: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 14e: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 151: if_acmpne 16e
      // 154: goto 15b
      // 157: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 15a: athrow
      // 15b: new com/l7tech/server/uddi/ab
      // 15e: dup
      // 15f: aload 0
      // 160: aload 3
      // 161: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 164: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 167: invokespecial com/l7tech/server/uddi/ab.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/objectmodel/Goid;)V
      // 16a: astore 2
      // 16b: goto 283
      // 16e: aload 5
      // 170: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 173: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 176: if_acmpeq 18b
      // 179: aload 5
      // 17b: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 17e: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 181: if_acmpne 283
      // 184: goto 18b
      // 187: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 18a: athrow
      // 18b: new com/l7tech/server/uddi/x
      // 18e: dup
      // 18f: aload 0
      // 190: aload 3
      // 191: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 194: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 197: invokespecial com/l7tech/server/uddi/x.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/objectmodel/Goid;)V
      // 19a: astore 2
      // 19b: goto 283
      // 19e: aload 0
      // 19f: getfield com/l7tech/server/uddi/PublishingUDDITaskFactory.d Lcom/l7tech/server/service/ServiceCache;
      // 1a2: aload 4
      // 1a4: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getPublishedServiceGoid ()Lcom/l7tech/objectmodel/Goid;
      // 1a7: invokevirtual com/l7tech/server/service/ServiceCache.getCachedService (Lcom/l7tech/objectmodel/Goid;)Lcom/l7tech/gateway/common/service/PublishedService;
      // 1aa: astore 7
      // 1ac: aload 3
      // 1ad: invokevirtual com/l7tech/server/uddi/q.c ()Lcom/l7tech/gateway/common/uddi/UDDIServiceControl;
      // 1b0: astore 8
      // 1b2: aload 8
      // 1b4: ifnonnull 207
      // 1b7: aload 0
      // 1b8: getfield com/l7tech/server/uddi/PublishingUDDITaskFactory.c Lcom/l7tech/server/uddi/UDDIPublishStatusManager;
      // 1bb: aload 4
      // 1bd: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 1c0: invokeinterface com/l7tech/server/uddi/UDDIPublishStatusManager.findByProxiedSerivceInfoGoid (Lcom/l7tech/objectmodel/Goid;)Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus; 2
      // 1c5: astore 9
      // 1c7: aload 9
      // 1c9: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 1cc: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.setPublishStatus (Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;)V
      // 1cf: aload 0
      // 1d0: getfield com/l7tech/server/uddi/PublishingUDDITaskFactory.c Lcom/l7tech/server/uddi/UDDIPublishStatusManager;
      // 1d3: aload 9
      // 1d5: invokeinterface com/l7tech/server/uddi/UDDIPublishStatusManager.update (Lcom/l7tech/objectmodel/PersistentEntity;)V 2
      // 1da: goto 205
      // 1dd: astore 9
      // 1df: getstatic com/l7tech/server/uddi/PublishingUDDITaskFactory.h Ljava/util/logging/Logger;
      // 1e2: getstatic java/util/logging/Level.WARNING Ljava/util/logging/Level;
      // 1e5: aload 4
      // 1e7: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 1ea: invokestatic java/lang/String.valueOf (Ljava/lang/Object;)Ljava/lang/String;
      // 1ed: getstatic com/l7tech/server/uddi/PublishingUDDITaskFactory.i [Ljava/lang/String;
      // 1f0: astore 10
      // 1f2: aload 10
      // 1f4: bipush 2
      // 1f5: aaload
      // 1f6: swap
      // 1f7: aload 10
      // 1f9: bipush 1
      // 1fa: aaload
      // 1fb: invokedynamic makeConcatWithConstants (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; bsm=java/lang/invoke/StringConcatFactory.makeConcatWithConstants (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; args=[ "\u0001\u0001\u0001" ]
      // 200: aload 9
      // 202: invokevirtual java/util/logging/Logger.log (Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
      // 205: aconst_null
      // 206: areturn
      // 207: aload 8
      // 209: invokevirtual com/l7tech/gateway/common/uddi/UDDIServiceControl.isHasBeenOverwritten ()Z
      // 20c: ifne 21d
      // 20f: new com/l7tech/server/uddi/z
      // 212: dup
      // 213: aload 0
      // 214: aload 7
      // 216: invokespecial com/l7tech/server/uddi/z.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/gateway/common/service/PublishedService;)V
      // 219: astore 2
      // 21a: goto 283
      // 21d: aload 5
      // 21f: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 222: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 225: if_acmpeq 23a
      // 228: aload 5
      // 22a: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 22d: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.PUBLISH_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 230: if_acmpne 256
      // 233: goto 23a
      // 236: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 239: athrow
      // 23a: aload 0
      // 23b: getfield com/l7tech/server/uddi/PublishingUDDITaskFactory.d Lcom/l7tech/server/service/ServiceCache;
      // 23e: aload 4
      // 240: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getPublishedServiceGoid ()Lcom/l7tech/objectmodel/Goid;
      // 243: invokevirtual com/l7tech/server/service/ServiceCache.getCachedService (Lcom/l7tech/objectmodel/Goid;)Lcom/l7tech/gateway/common/service/PublishedService;
      // 246: astore 9
      // 248: new com/l7tech/server/uddi/aa
      // 24b: dup
      // 24c: aload 0
      // 24d: aload 9
      // 24f: invokespecial com/l7tech/server/uddi/aa.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/gateway/common/service/PublishedService;)V
      // 252: astore 2
      // 253: goto 283
      // 256: aload 5
      // 258: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 25b: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 25e: if_acmpeq 273
      // 261: aload 5
      // 263: invokevirtual com/l7tech/gateway/common/uddi/UDDIPublishStatus.getPublishStatus ()Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 266: getstatic com/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus.DELETE_FAILED Lcom/l7tech/gateway/common/uddi/UDDIPublishStatus$PublishStatus;
      // 269: if_acmpne 283
      // 26c: goto 273
      // 26f: invokestatic com/l7tech/server/uddi/PublishingUDDITaskFactory.a (Lcom/l7tech/objectmodel/ObjectModelException;)Lcom/l7tech/objectmodel/ObjectModelException;
      // 272: athrow
      // 273: new com/l7tech/server/uddi/w
      // 276: dup
      // 277: aload 0
      // 278: aload 3
      // 279: invokevirtual com/l7tech/server/uddi/q.a ()Lcom/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo;
      // 27c: invokevirtual com/l7tech/gateway/common/uddi/UDDIProxiedServiceInfo.getGoid ()Lcom/l7tech/objectmodel/Goid;
      // 27f: invokespecial com/l7tech/server/uddi/w.<init> (Lcom/l7tech/server/uddi/PublishingUDDITaskFactory;Lcom/l7tech/objectmodel/Goid;)V
      // 282: astore 2
      // 283: aload 2
      // 284: areturn
      // try (147 -> 155): 156 com/l7tech/objectmodel/ObjectModelException
      // try (127 -> 135): 136 com/l7tech/objectmodel/ObjectModelException
      // try (107 -> 115): 116 com/l7tech/objectmodel/ObjectModelException
      // try (84 -> 95): 96 com/l7tech/objectmodel/ObjectModelException
      // try (78 -> 88): 89 com/l7tech/objectmodel/ObjectModelException
      // try (76 -> 81): 82 com/l7tech/objectmodel/ObjectModelException
      // try (47 -> 55): 56 com/l7tech/objectmodel/ObjectModelException
      // try (20 -> 31): 32 com/l7tech/objectmodel/ObjectModelException
      // try (14 -> 24): 25 com/l7tech/objectmodel/ObjectModelException
      // try (178 -> 191): 192 com/l7tech/objectmodel/ObjectModelException
      // try (222 -> 230): 231 com/l7tech/objectmodel/ObjectModelException
      // try (246 -> 254): 255 com/l7tech/objectmodel/ObjectModelException
   }

   private static UDDIRegistrySpecificMetaData a(
      UDDIRegistry var0, UDDIServiceControl var1, UDDIProxiedServiceInfo var2, PublishingUDDITaskFactory var3, UDDIClient var4
   ) {
      boolean var5 = var1 != null
         && var2.getPublishType() == PublishType.PROXY
         && var0.getUddiRegistryType().equals(UDDIRegistryType.CENTRASITE_ACTIVE_SOA.toString())
         && Goid.equals(var1.getUddiRegistryGoid(), var0.getGoid());
      return var5 ? new a(var3, var4, var1) : null;
   }

   private static void a(Goid var0, UDDITaskFactory.UDDITaskContext var1, UDDIPublishStatusManager var2, PublishStatus var3, PublishStatus var4) throws UpdateException, FindException {
      UDDIPublishStatus var5 = (UDDIPublishStatus)var2.findByPrimaryKey(var0);
      if (var5 != null) {
         int var6 = var1.getMaxRetryAttempts();
         int var7 = var5.getFailCount();

         label19: {
            try {
               if (var7 >= var6) {
                  var5.setPublishStatus(var4);
                  break label19;
               }
            } catch (UpdateException var9) {
               throw a(var9);
            }

            var5.setPublishStatus(var3);
         }

         int var8 = var5.getFailCount() + 1;
         var5.setFailCount(var8);
         var2.update(var5);
      }
   }

   private static void a(Goid var0, UDDITaskFactory.UDDITaskContext var1, UDDIPublishStatusManager var2) throws UpdateException, FindException {
      a(var0, var1, var2, PublishStatus.PUBLISH_FAILED, PublishStatus.CANNOT_PUBLISH);
   }

   private static void b(Goid var0, UDDITaskFactory.UDDITaskContext var1, UDDIPublishStatusManager var2) throws UpdateException, FindException {
      a(var0, var1, var2, PublishStatus.DELETE_FAILED, PublishStatus.CANNOT_DELETE);
   }

   private static void a(final UDDITaskFactory.UDDITaskContext var0, Exception var1, final Goid var2, final PublishingUDDITaskFactory var3, final boolean var4) throws UDDITaskFactory.UDDIHandledTaskException {
      throw new UDDITaskFactory.UDDIHandledTaskException(ExceptionUtils.getMessage(var1), var1) {
         static final long serialVersionUID = -2107533049972398519L;
         private static final String[] a;

         @Override
         public void handleTaskError() {
            try {
               try {
                  if (var4) {
                     PublishingUDDITaskFactory.a(var2, var0, var3.c);
                     return;
                  }
               } catch (UpdateException var5) {
                  throw a(var5);
               }

               PublishingUDDITaskFactory.b(var2, var0, var3.c);
            } catch (UpdateException var6) {
               UpdateException var8 = var6;

               try {
                  if (var4) {
                     var0.logAndAudit(SystemMessages.UDDI_PUBLISH_ENDPOINT_FAILED, var8, a[3]);
                     return;
                  }
               } catch (UpdateException var4x) {
                  throw a(var4x);
               }

               UDDITaskFactory.UDDITaskContext var10000 = var0;
               M var10001 = SystemMessages.UDDI_PUBLISH_ENDPOINT_FAILED;
               String[] var10003 = new String[1];
               String[] var2x = a;
               var10003[0] = var2x[1];
               var10000.logAndAudit(var10001, var6, var10003);
            } catch (FindException var7) {
               FindException var1x = var7;

               try {
                  if (var4) {
                     var0.logAndAudit(SystemMessages.UDDI_PUBLISH_ENDPOINT_FAILED, var1x, a[2]);
                     return;
                  }
               } catch (UpdateException var3x) {
                  throw a(var3x);
               }

               var0.logAndAudit(SystemMessages.UDDI_PUBLISH_ENDPOINT_FAILED, var7, a[0]);
            }
         }

         private static UpdateException a(UpdateException var0x) {
            return var0x;
         }

         static {
            String[] var5 = new String[4];
            int var3x = 0;
            String var2x = ",Fo\\:\u0010\u0010\r\u0007~O*\u001e\u0011HPsX6Q\u0016\u0018CzI1\u001f\u0004HCzI9\u0013\u0002\u001bB;J1\u0005\u000bHC~Q=\u0005\u0006HAzT4Q\u0010\u001cFoNv=,Fo\\:\u0010\u0010\r\u0007~O*\u001e\u0011HPsX6Q\u0016\u0018CzI1\u001f\u0004HCzI9\u0013\u0002\u001bB;J1\u0005\u000bHC~Q=\u0005\u0006HAzT4Q\u0010\u001cFoNv";
            int var4x = ",Fo\\:\u0010\u0010\r\u0007~O*\u001e\u0011HPsX6Q\u0016\u0018CzI1\u001f\u0004HCzI9\u0013\u0002\u001bB;J1\u0005\u000bHC~Q=\u0005\u0006HAzT4Q\u0010\u001cFoNv=,Fo\\:\u0010\u0010\r\u0007~O*\u001e\u0011HPsX6Q\u0016\u0018CzI1\u001f\u0004HCzI9\u0013\u0002\u001bB;J1\u0005\u000bHC~Q=\u0005\u0006HAzT4Q\u0010\u001cFoNv"
               .length();
            char var1x = '=';
            int var7 = -1;

            label24:
            while (true) {
               byte var10000 = 20;
               String var10001 = var2x.substring(++var7, var7 + var1x);
               byte var10002 = -1;

               while (true) {
                  String var8 = a(var10000, a(var10001));
                  switch (var10002) {
                     case 0:
                        var5[var3x++] = var8;
                        if ((var7 += var1x) >= var4x) {
                           a = var5;
                           return;
                        }

                        var1x = var2x.charAt(var7);
                        break;
                     default:
                        var5[var3x++] = var8;
                        if ((var7 += var1x) < var4x) {
                           var1x = var2x.charAt(var7);
                           continue label24;
                        }

                        var2x = "}\u0017>\rkAA\\V/\u001e{O@\u0019\u0001\"\tg\u0000GI\u0012+\u0018`NU\u0019\u0012+\u0018hBSJ\u0013j\u001b`TZ\u0019\u0006?\u000eeIAQV,\r`L\u0012J\u0002+\u0018z\u000e>}\u0017>\rkAA\\V/\u001e{O@\u0019\u0001\"\tg\u0000GI\u0012+\u0018`NU\u0019\u0012+\u0018hBSJ\u0013j\u001b`TZ\u0019\u0006?\u000eeIAQV,\r`L\u0012J\u0002+\u0018z\u000e";
                        var4x = "}\u0017>\rkAA\\V/\u001e{O@\u0019\u0001\"\tg\u0000GI\u0012+\u0018`NU\u0019\u0012+\u0018hBSJ\u0013j\u001b`TZ\u0019\u0006?\u000eeIAQV,\r`L\u0012J\u0002+\u0018z\u000e>}\u0017>\rkAA\\V/\u001e{O@\u0019\u0001\"\tg\u0000GI\u0012+\u0018`NU\u0019\u0012+\u0018hBSJ\u0013j\u001b`TZ\u0019\u0006?\u000eeIAQV,\r`L\u0012J\u0002+\u0018z\u000e"
                           .length();
                        var1x = '>';
                        var7 = -1;
                  }

                  var10000 = 69;
                  var10001 = var2x.substring(++var7, var7 + var1x);
                  var10002 = 0;
               }
            }
         }

         private static char[] a(String var0x) {
            char[] var10000 = var0x.toCharArray();
            if (var10000.length < 2) {
               var10000[0] = (char)(var10000[0] ^ 119);
            }

            return var10000;
         }

         private static String a(int var0x, char[] var1x) {
            int var10003 = var1x.length;
            int var10002 = var0x;
            char[] var10001 = var1x;
            int var10000 = var10003;

            for (int var2x = 0; var10000 > var2x; var2x++) {
               var10001[var2x] = (char)(var10001[var2x] ^ var10002 ^ switch (var2x % 7) {
                  case 0 -> 124;
                  case 1 -> 51;
                  case 2 -> 15;
                  case 3 -> 41;
                  case 4 -> 76;
                  case 5 -> 101;
                  default -> 119;
               });
            }

            return new String(var10001).intern();
         }
      };
   }

   static {
      String[] var5 = new String[3];
      int var3 = 0;
      String var2 = "Hg_WjO\u0002(\u001a7B[u|G)<n@ eSm3uQ cWh&tG vL{rTpDYs{=y]etpl w]cujg4n\u0014it\u0000!";
      int var4 = "Hg_WjO\u0002(\u001a7B[u|G)<n@ eSm3uQ cWh&tG vL{rTpDYs{=y]etpl w]cujg4n\u0014it\u0000!".length();
      char var1 = 6;
      int var0 = -1;

      while (true) {
         String var10002 = a(11, a(var2.substring(++var0, var0 + var1)));
         byte var10001 = -1;
         var5[var3++] = var10002;
         if ((var0 += var1) >= var4) {
            i = var5;
            h = Logger.getLogger(PublishingUDDITaskFactory.class.getName());
            return;
         }

         var1 = var2.charAt(var0);
      }
   }

   private static ObjectModelException a(ObjectModelException var0) {
      return var0;
   }

   private static char[] a(String var0) {
      char[] var10000 = var0.toCharArray();
      if (var10000.length < 2) {
         var10000[0] = (char)(var10000[0] ^ 89);
      }

      return var10000;
   }

   private static String a(int var0, char[] var1) {
      int var10003 = var1.length;
      int var10002 = var0;
      char[] var10001 = var1;
      int var10000 = var10003;

      for (int var2 = 0; var10000 > var2; var2++) {
         var10001[var2] = (char)(var10001[var2] ^ var10002 ^ switch (var2 % 7) {
            case 0 -> 10;
            case 1 -> 63;
            case 2 -> 11;
            case 3 -> 27;
            case 4 -> 40;
            case 5 -> 2;
            default -> 89;
         });
      }

      return new String(var10001).intern();
   }
}
