public class com.mongodb.client.jndi.MongoClientFactory implements javax.naming.spi.ObjectFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.mongodb.client.jndi.MongoClientFactory
  super_class: java.lang.Object
{
  private static final com.mongodb.diagnostics.logging.Logger LOGGER;
    descriptor: Lcom/mongodb/diagnostics/logging/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String CONNECTION_STRING;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "connectionString"

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 42
            ldc "client.jndi"
            invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
            putstatic com.mongodb.client.jndi.MongoClientFactory.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
         1: .line 44
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.client.jndi.MongoClientFactory this
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.mongodb.client.jndi.MongoClientFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/client/jndi/MongoClientFactory;

  public  getObjectInstance(, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>);
    descriptor: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=8, args_size=5
        start local 0 // com.mongodb.client.jndi.MongoClientFactory this
        start local 1 // java.lang.Object obj
        start local 2 // javax.naming.Name name
        start local 3 // javax.naming.Context nameCtx
        start local 4 // java.util.Hashtable environment
         0: .line 70
            aconst_null
            astore 5 /* connectionString */
        start local 5 // java.lang.String connectionString
         1: .line 72
            aload 4 /* environment */
            ldc "connectionString"
            invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
            instanceof java.lang.String
            ifeq 3
         2: .line 73
            aload 4 /* environment */
            ldc "connectionString"
            invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            astore 5 /* connectionString */
         3: .line 76
      StackMap locals: java.lang.String
      StackMap stack:
            aload 5 /* connectionString */
            ifnull 4
            aload 5 /* connectionString */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 17
         4: .line 77
      StackMap locals:
      StackMap stack:
            getstatic com.mongodb.client.jndi.MongoClientFactory.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
            ldc "No '%s' property in environment.  Casting 'obj' to java.naming.Reference to look for a javax.naming.RefAddr with type equal to '%s'"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         5: .line 78
            ldc "connectionString"
            aastore
            dup
            iconst_1
            ldc "connectionString"
            aastore
         6: .line 77
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
         7: .line 82
            aload 1 /* obj */
            instanceof javax.naming.Reference
            ifeq 17
         8: .line 83
            aload 1 /* obj */
            checkcast javax.naming.Reference
            invokevirtual javax.naming.Reference.getAll:()Ljava/util/Enumeration;
            astore 6 /* props */
        start local 6 // java.util.Enumeration props
         9: .line 85
            goto 16
        10: .line 86
      StackMap locals: java.util.Enumeration
      StackMap stack:
            aload 6 /* props */
            invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
            checkcast javax.naming.RefAddr
            astore 7 /* addr */
        start local 7 // javax.naming.RefAddr addr
        11: .line 87
            aload 7 /* addr */
            ifnull 16
        12: .line 88
            ldc "connectionString"
            aload 7 /* addr */
            invokevirtual javax.naming.RefAddr.getType:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 16
        13: .line 89
            aload 7 /* addr */
            invokevirtual javax.naming.RefAddr.getContent:()Ljava/lang/Object;
            instanceof java.lang.String
            ifeq 16
        14: .line 90
            aload 7 /* addr */
            invokevirtual javax.naming.RefAddr.getContent:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 5 /* connectionString */
        15: .line 91
            goto 17
        end local 7 // javax.naming.RefAddr addr
        16: .line 85
      StackMap locals:
      StackMap stack:
            aload 6 /* props */
            invokeinterface java.util.Enumeration.hasMoreElements:()Z
            ifne 10
        end local 6 // java.util.Enumeration props
        17: .line 99
      StackMap locals:
      StackMap stack:
            aload 5 /* connectionString */
            ifnull 18
            aload 5 /* connectionString */
            invokevirtual java.lang.String.isEmpty:()Z
            ifeq 19
        18: .line 100
      StackMap locals:
      StackMap stack:
            new com.mongodb.MongoException
            dup
            ldc "Could not locate '%s' in either environment or obj"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "connectionString"
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial com.mongodb.MongoException.<init>:(Ljava/lang/String;)V
            athrow
        19: .line 103
      StackMap locals:
      StackMap stack:
            new com.mongodb.MongoClientURI
            dup
            aload 5 /* connectionString */
            invokespecial com.mongodb.MongoClientURI.<init>:(Ljava/lang/String;)V
            astore 6 /* uri */
        start local 6 // com.mongodb.MongoClientURI uri
        20: .line 105
            new com.mongodb.MongoClient
            dup
            aload 6 /* uri */
            invokespecial com.mongodb.MongoClient.<init>:(Lcom/mongodb/MongoClientURI;)V
            areturn
        end local 6 // com.mongodb.MongoClientURI uri
        end local 5 // java.lang.String connectionString
        end local 4 // java.util.Hashtable environment
        end local 3 // javax.naming.Context nameCtx
        end local 2 // javax.naming.Name name
        end local 1 // java.lang.Object obj
        end local 0 // com.mongodb.client.jndi.MongoClientFactory this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   21     0              this  Lcom/mongodb/client/jndi/MongoClientFactory;
            0   21     1               obj  Ljava/lang/Object;
            0   21     2              name  Ljavax/naming/Name;
            0   21     3           nameCtx  Ljavax/naming/Context;
            0   21     4       environment  Ljava/util/Hashtable<**>;
            1   21     5  connectionString  Ljava/lang/String;
            9   17     6             props  Ljava/util/Enumeration<Ljavax/naming/RefAddr;>;
           11   16     7              addr  Ljavax/naming/RefAddr;
           20   21     6               uri  Lcom/mongodb/MongoClientURI;
    Exceptions:
      throws java.lang.Exception
    Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
    MethodParameters:
             Name  Flags
      obj          final
      name         final
      nameCtx      final
      environment  final
}
SourceFile: "MongoClientFactory.java"