public class com.sun.jndi.url.ldap.ldapURLContextFactory implements javax.naming.spi.ObjectFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jndi.url.ldap.ldapURLContextFactory
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/jndi/url/ldap/ldapURLContextFactory;
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=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnonnull 2
1: new com.sun.jndi.url.ldap.ldapURLContext
dup
aload 4
invokespecial com.sun.jndi.url.ldap.ldapURLContext.<init>:(Ljava/util/Hashtable;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 4
invokestatic com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance:(Ljava/lang/Object;Ljava/util/Hashtable;)Ljavax/naming/directory/DirContext;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/url/ldap/ldapURLContextFactory;
0 3 1 urlInfo Ljava/lang/Object;
0 3 2 name Ljavax/naming/Name;
0 3 3 nameCtx Ljavax/naming/Context;
0 3 4 env Ljava/util/Hashtable<**>;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
urlInfo
name
nameCtx
env
static javax.naming.spi.ResolveResult getUsingURLIgnoreRootDN(java.lang.String, java.util.Hashtable);
descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/spi/ResolveResult;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: new com.sun.jndi.ldap.LdapURL
dup
aload 0
invokespecial com.sun.jndi.ldap.LdapURL.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: new com.sun.jndi.ldap.LdapCtx
dup
ldc ""
aload 2
invokevirtual com.sun.jndi.ldap.LdapURL.getHost:()Ljava/lang/String;
aload 2
invokevirtual com.sun.jndi.ldap.LdapURL.getPort:()I
2: aload 1
aload 2
invokevirtual com.sun.jndi.ldap.LdapURL.useSsl:()Z
3: invokespecial com.sun.jndi.ldap.LdapCtx.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/util/Hashtable;Z)V
astore 3
start local 3 4: aload 2
invokevirtual com.sun.jndi.ldap.LdapURL.getDN:()Ljava/lang/String;
ifnull 5
aload 2
invokevirtual com.sun.jndi.ldap.LdapURL.getDN:()Ljava/lang/String;
goto 6
StackMap locals: com.sun.jndi.ldap.LdapURL javax.naming.directory.DirContext
StackMap stack:
5: ldc ""
StackMap locals:
StackMap stack: java.lang.String
6: astore 4
start local 4 7: new javax.naming.CompositeName
dup
invokespecial javax.naming.CompositeName.<init>:()V
astore 5
start local 5 8: ldc ""
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 5
aload 4
invokevirtual javax.naming.CompositeName.add:(Ljava/lang/String;)Ljavax/naming/Name;
pop
10: StackMap locals: java.lang.String javax.naming.CompositeName
StackMap stack:
new javax.naming.spi.ResolveResult
dup
aload 3
aload 5
invokespecial javax.naming.spi.ResolveResult.<init>:(Ljava/lang/Object;Ljavax/naming/Name;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 url Ljava/lang/String;
0 11 1 env Ljava/util/Hashtable;
1 11 2 ldapUrl Lcom/sun/jndi/ldap/LdapURL;
4 11 3 ctx Ljavax/naming/directory/DirContext;
7 11 4 dn Ljava/lang/String;
8 11 5 remaining Ljavax/naming/CompositeName;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
url
env
}
SourceFile: "ldapURLContextFactory.java"