class javax.xml.ws.spi.FactoryFinder
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: javax.xml.ws.spi.FactoryFinder
  super_class: java.lang.Object
{
  private static final java.util.logging.Logger logger;
    descriptor: Ljava/util/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final javax.xml.ws.spi.ServiceLoaderUtil$ExceptionHandler<javax.xml.ws.WebServiceException> EXCEPTION_HANDLER;
    descriptor: Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler<Ljavax/xml/ws/WebServiceException;>;

  private static final java.lang.String OSGI_SERVICE_LOADER_CLASS_NAME;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "com.sun.org.glassfish.hk2.osgiresourcelocator.ServiceLoader"

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 40
            ldc "javax.xml.ws"
            invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
            putstatic javax.xml.ws.spi.FactoryFinder.logger:Ljava/util/logging/Logger;
         1: .line 43
            new javax.xml.ws.spi.FactoryFinder$1
            dup
            invokespecial javax.xml.ws.spi.FactoryFinder$1.<init>:()V
         2: .line 42
            putstatic javax.xml.ws.spi.FactoryFinder.EXCEPTION_HANDLER:Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
         3: .line 144
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // javax.xml.ws.spi.FactoryFinder this
         0: .line 38
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // javax.xml.ws.spi.FactoryFinder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljavax/xml/ws/spi/FactoryFinder;

  static <T> T find(java.lang.Class<T>, java.lang.String);
    descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // java.lang.Class factoryClass
        start local 1 // java.lang.String fallbackClassName
         0: .line 72
            getstatic javax.xml.ws.spi.FactoryFinder.EXCEPTION_HANDLER:Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
            invokestatic javax.xml.ws.spi.ServiceLoaderUtil.contextClassLoader:(Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;)Ljava/lang/ClassLoader;
            astore 2 /* classLoader */
        start local 2 // java.lang.ClassLoader classLoader
         1: .line 74
            aload 0 /* factoryClass */
            getstatic javax.xml.ws.spi.FactoryFinder.logger:Ljava/util/logging/Logger;
            getstatic javax.xml.ws.spi.FactoryFinder.EXCEPTION_HANDLER:Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
            invokestatic javax.xml.ws.spi.ServiceLoaderUtil.firstByServiceLoader:(Ljava/lang/Class;Ljava/util/logging/Logger;Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;)Ljava/lang/Object;
            astore 3 /* provider */
        start local 3 // java.lang.Object provider
         2: .line 75
            aload 3 /* provider */
            ifnull 3
            aload 3 /* provider */
            areturn
         3: .line 77
      StackMap locals: java.lang.ClassLoader java.lang.Object
      StackMap stack:
            aload 0 /* factoryClass */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 4 /* factoryId */
        start local 4 // java.lang.String factoryId
         4: .line 80
            aload 4 /* factoryId */
            aload 1 /* fallbackClassName */
            aload 2 /* classLoader */
            invokestatic javax.xml.ws.spi.FactoryFinder.fromJDKProperties:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
            astore 3 /* provider */
         5: .line 81
            aload 3 /* provider */
            ifnull 6
            aload 3 /* provider */
            areturn
         6: .line 84
      StackMap locals: java.lang.String
      StackMap stack:
            aload 4 /* factoryId */
            aload 1 /* fallbackClassName */
            aload 2 /* classLoader */
            invokestatic javax.xml.ws.spi.FactoryFinder.fromSystemProperty:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
            astore 3 /* provider */
         7: .line 85
            aload 3 /* provider */
            ifnull 8
            aload 3 /* provider */
            areturn
         8: .line 88
      StackMap locals:
      StackMap stack:
            invokestatic javax.xml.ws.spi.FactoryFinder.isOsgi:()Z
            ifeq 10
         9: .line 89
            aload 4 /* factoryId */
            invokestatic javax.xml.ws.spi.FactoryFinder.lookupUsingOSGiServiceLoader:(Ljava/lang/String;)Ljava/lang/Object;
            areturn
        10: .line 92
      StackMap locals:
      StackMap stack:
            aload 1 /* fallbackClassName */
            ifnonnull 14
        11: .line 93
            new javax.xml.ws.WebServiceException
            dup
        12: .line 94
            new java.lang.StringBuilder
            dup
            ldc "Provider for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* factoryId */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " cannot be found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aconst_null
        13: .line 93
            invokespecial javax.xml.ws.WebServiceException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        14: .line 97
      StackMap locals:
      StackMap stack:
            aload 1 /* fallbackClassName */
        15: .line 98
            aload 1 /* fallbackClassName */
            aload 2 /* classLoader */
            getstatic javax.xml.ws.spi.FactoryFinder.EXCEPTION_HANDLER:Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
        16: .line 97
            invokestatic javax.xml.ws.spi.ServiceLoaderUtil.newInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;)Ljava/lang/Object;
            areturn
        end local 4 // java.lang.String factoryId
        end local 3 // java.lang.Object provider
        end local 2 // java.lang.ClassLoader classLoader
        end local 1 // java.lang.String fallbackClassName
        end local 0 // java.lang.Class factoryClass
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   17     0       factoryClass  Ljava/lang/Class<TT;>;
            0   17     1  fallbackClassName  Ljava/lang/String;
            1   17     2        classLoader  Ljava/lang/ClassLoader;
            2   17     3           provider  TT;
            4   17     4          factoryId  Ljava/lang/String;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;)TT;
    MethodParameters:
                   Name  Flags
      factoryClass       
      fallbackClassName  

  private static java.lang.Object fromSystemProperty(java.lang.String, java.lang.String, java.lang.ClassLoader);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // java.lang.String factoryId
        start local 1 // java.lang.String fallbackClassName
        start local 2 // java.lang.ClassLoader classLoader
         0: .line 105
            aload 0 /* factoryId */
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 3 /* systemProp */
        start local 3 // java.lang.String systemProp
         1: .line 106
            aload 3 /* systemProp */
            ifnull 7
         2: .line 107
            aload 3 /* systemProp */
         3: .line 108
            aload 1 /* fallbackClassName */
            aload 2 /* classLoader */
            getstatic javax.xml.ws.spi.FactoryFinder.EXCEPTION_HANDLER:Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
         4: .line 107
            invokestatic javax.xml.ws.spi.ServiceLoaderUtil.newInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;)Ljava/lang/Object;
         5: areturn
        end local 3 // java.lang.String systemProp
         6: .line 110
      StackMap locals:
      StackMap stack: java.lang.SecurityException
            pop
         7: .line 112
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 2 // java.lang.ClassLoader classLoader
        end local 1 // java.lang.String fallbackClassName
        end local 0 // java.lang.String factoryId
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    8     0          factoryId  Ljava/lang/String;
            0    8     1  fallbackClassName  Ljava/lang/String;
            0    8     2        classLoader  Ljava/lang/ClassLoader;
            1    6     3         systemProp  Ljava/lang/String;
      Exception table:
        from    to  target  type
           0     5       6  Class java.lang.SecurityException
    MethodParameters:
                   Name  Flags
      factoryId          
      fallbackClassName  
      classLoader        

  private static java.lang.Object fromJDKProperties(java.lang.String, java.lang.String, java.lang.ClassLoader);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=9, args_size=3
        start local 0 // java.lang.String factoryId
        start local 1 // java.lang.String fallbackClassName
        start local 2 // java.lang.ClassLoader classLoader
         0: .line 118
            aconst_null
            astore 3 /* path */
        start local 3 // java.nio.file.Path path
         1: .line 120
            ldc "java.home"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* JAVA_HOME */
        start local 4 // java.lang.String JAVA_HOME
         2: .line 121
            aload 4 /* JAVA_HOME */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "conf"
            aastore
            dup
            iconst_1
            ldc "jaxws.properties"
            aastore
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 3 /* path */
         3: .line 124
            aload 3 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 5
         4: .line 125
            aload 4 /* JAVA_HOME */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "lib"
            aastore
            dup
            iconst_1
            ldc "jaxws.properties"
            aastore
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 3 /* path */
         5: .line 128
      StackMap locals: java.nio.file.Path java.lang.String
      StackMap stack:
            aload 3 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 25
         6: .line 129
            new java.util.Properties
            dup
            invokespecial java.util.Properties.<init>:()V
            astore 5 /* props */
        start local 5 // java.util.Properties props
         7: .line 130
            aconst_null
            astore 6
            aconst_null
            astore 7
         8: aload 3 /* path */
            iconst_0
            anewarray java.nio.file.OpenOption
            invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
            astore 8 /* inStream */
        start local 8 // java.io.InputStream inStream
         9: .line 131
            aload 5 /* props */
            aload 8 /* inStream */
            invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
        10: .line 132
            aload 8 /* inStream */
            ifnull 16
            aload 8 /* inStream */
            invokevirtual java.io.InputStream.close:()V
            goto 16
      StackMap locals: java.lang.String java.lang.String java.lang.ClassLoader java.nio.file.Path java.lang.String java.util.Properties java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        11: astore 6
            aload 8 /* inStream */
            ifnull 12
            aload 8 /* inStream */
            invokevirtual java.io.InputStream.close:()V
        end local 8 // java.io.InputStream inStream
      StackMap locals:
      StackMap stack:
        12: aload 6
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 7
            aload 6
            ifnonnull 14
            aload 7
            astore 6
            goto 15
      StackMap locals:
      StackMap stack:
        14: aload 6
            aload 7
            if_acmpeq 15
            aload 6
            aload 7
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        15: aload 6
            athrow
        16: .line 133
      StackMap locals:
      StackMap stack:
            aload 5 /* props */
            aload 0 /* factoryId */
            invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* factoryClassName */
        start local 6 // java.lang.String factoryClassName
        17: .line 134
            aload 6 /* factoryClassName */
        18: .line 135
            aload 1 /* fallbackClassName */
            aload 2 /* classLoader */
            getstatic javax.xml.ws.spi.FactoryFinder.EXCEPTION_HANDLER:Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;
        19: .line 134
            invokestatic javax.xml.ws.spi.ServiceLoaderUtil.newInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljavax/xml/ws/spi/ServiceLoaderUtil$ExceptionHandler;)Ljava/lang/Object;
        20: areturn
        end local 6 // java.lang.String factoryClassName
        end local 5 // java.util.Properties props
        end local 4 // java.lang.String JAVA_HOME
        21: .line 137
      StackMap locals: java.lang.String java.lang.String java.lang.ClassLoader java.nio.file.Path
      StackMap stack: java.lang.Exception
            astore 4 /* ignored */
        start local 4 // java.lang.Exception ignored
        22: .line 138
            getstatic javax.xml.ws.spi.FactoryFinder.logger:Ljava/util/logging/Logger;
            getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
            new java.lang.StringBuilder
            dup
            ldc "Error reading JAX-WS configuration from ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 3 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        23: .line 139
            ldc "] file. Check it is accessible and has correct format."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 4 /* ignored */
        24: .line 138
            invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 4 // java.lang.Exception ignored
        25: .line 141
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 3 // java.nio.file.Path path
        end local 2 // java.lang.ClassLoader classLoader
        end local 1 // java.lang.String fallbackClassName
        end local 0 // java.lang.String factoryId
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   26     0          factoryId  Ljava/lang/String;
            0   26     1  fallbackClassName  Ljava/lang/String;
            0   26     2        classLoader  Ljava/lang/ClassLoader;
            1   26     3               path  Ljava/nio/file/Path;
            2   21     4          JAVA_HOME  Ljava/lang/String;
            7   21     5              props  Ljava/util/Properties;
            9   12     8           inStream  Ljava/io/InputStream;
           17   21     6   factoryClassName  Ljava/lang/String;
           22   25     4            ignored  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           9    10      11  any
           8    13      13  any
           1    20      21  Class java.lang.Exception
    MethodParameters:
                   Name  Flags
      factoryId          
      fallbackClassName  
      classLoader        

  private static boolean isOsgi();
    descriptor: ()Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 148
            ldc "com.sun.org.glassfish.hk2.osgiresourcelocator.ServiceLoader"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            pop
         1: .line 149
            iconst_1
            ireturn
         2: .line 150
      StackMap locals:
      StackMap stack: java.lang.ClassNotFoundException
            pop
         3: .line 152
            iconst_0
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.ClassNotFoundException

  private static java.lang.Object lookupUsingOSGiServiceLoader(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=6, args_size=1
        start local 0 // java.lang.String factoryId
         0: .line 158
            aload 0 /* factoryId */
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 1 /* serviceClass */
        start local 1 // java.lang.Class serviceClass
         1: .line 159
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            aload 1 /* serviceClass */
            aastore
            astore 2 /* args */
        start local 2 // java.lang.Class[] args
         2: .line 160
            ldc "com.sun.org.glassfish.hk2.osgiresourcelocator.ServiceLoader"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 3 /* target */
        start local 3 // java.lang.Class target
         3: .line 161
            aload 3 /* target */
            ldc "lookupProviderInstances"
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/Class;
            aastore
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            astore 4 /* m */
        start local 4 // java.lang.reflect.Method m
         4: .line 162
            aload 4 /* m */
            aconst_null
            aload 2 /* args */
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Iterable
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 5 /* iter */
        start local 5 // java.util.Iterator iter
         5: .line 163
            aload 5 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifeq 6
            aload 5 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            goto 7
      StackMap locals: java.lang.String java.lang.Class java.lang.Class[] java.lang.Class java.lang.reflect.Method java.util.Iterator
      StackMap stack:
         6: aconst_null
      StackMap locals:
      StackMap stack: java.lang.Object
         7: areturn
        end local 5 // java.util.Iterator iter
        end local 4 // java.lang.reflect.Method m
        end local 3 // java.lang.Class target
        end local 2 // java.lang.Class[] args
        end local 1 // java.lang.Class serviceClass
         8: .line 164
      StackMap locals: java.lang.String
      StackMap stack: java.lang.Exception
            pop
         9: .line 166
            aconst_null
            areturn
        end local 0 // java.lang.String factoryId
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0     factoryId  Ljava/lang/String;
            1    8     1  serviceClass  Ljava/lang/Class;
            2    8     2          args  [Ljava/lang/Class;
            3    8     3        target  Ljava/lang/Class;
            4    8     4             m  Ljava/lang/reflect/Method;
            5    8     5          iter  Ljava/util/Iterator;
      Exception table:
        from    to  target  type
           0     7       8  Class java.lang.Exception
    MethodParameters:
           Name  Flags
      factoryId  
}
SourceFile: "FactoryFinder.java"
NestMembers:
  javax.xml.ws.spi.FactoryFinder$1
InnerClasses:
  javax.xml.ws.spi.FactoryFinder$1
  abstract ExceptionHandler = javax.xml.ws.spi.ServiceLoaderUtil$ExceptionHandler of javax.xml.ws.spi.ServiceLoaderUtil