public class com.sun.jndi.url.dns.dnsURLContextFactory implements javax.naming.spi.ObjectFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jndi.url.dns.dnsURLContextFactory
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/dns/dnsURLContextFactory;
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.dns.dnsURLContext
dup
aload 4
invokespecial com.sun.jndi.url.dns.dnsURLContext.<init>:(Ljava/util/Hashtable;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifeq 4
3: aload 1
checkcast java.lang.String
aload 4
invokestatic com.sun.jndi.url.dns.dnsURLContextFactory.getUsingURL:(Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String[]
ifeq 6
5: aload 1
checkcast java.lang.String[]
aload 4
invokestatic com.sun.jndi.url.dns.dnsURLContextFactory.getUsingURLs:([Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
new javax.naming.ConfigurationException
dup
7: ldc "dnsURLContextFactory.getObjectInstance: argument must be a DNS URL String or an array of them"
8: invokespecial javax.naming.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/url/dns/dnsURLContextFactory;
0 9 1 urlInfo Ljava/lang/Object;
0 9 2 name Ljavax/naming/Name;
0 9 3 nameCtx Ljavax/naming/Context;
0 9 4 env Ljava/util/Hashtable<**>;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
urlInfo
name
nameCtx
env
private static java.lang.Object getUsingURL(java.lang.String, java.util.Hashtable);
descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new com.sun.jndi.url.dns.dnsURLContext
dup
aload 1
invokespecial com.sun.jndi.url.dns.dnsURLContext.<init>:(Ljava/util/Hashtable;)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual com.sun.jndi.url.dns.dnsURLContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
astore 4
2: aload 2
invokevirtual com.sun.jndi.url.dns.dnsURLContext.close:()V
3: aload 4
areturn
4: StackMap locals: java.lang.String java.util.Hashtable com.sun.jndi.url.dns.dnsURLContext
StackMap stack: java.lang.Throwable
astore 3
5: aload 2
invokevirtual com.sun.jndi.url.dns.dnsURLContext.close:()V
6: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 url Ljava/lang/String;
0 7 1 env Ljava/util/Hashtable;
1 7 2 urlCtx Lcom/sun/jndi/url/dns/dnsURLContext;
Exception table:
from to target type
1 2 4 any
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
url
env
private static java.lang.Object getUsingURLs(java.lang.String[], java.util.Hashtable);
descriptor: ([Ljava/lang/String;Ljava/util/Hashtable;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
arraylength
ifne 4
1: new javax.naming.ConfigurationException
dup
2: ldc "dnsURLContextFactory: empty URL array"
3: invokespecial javax.naming.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new com.sun.jndi.url.dns.dnsURLContext
dup
aload 1
invokespecial com.sun.jndi.url.dns.dnsURLContext.<init>:(Ljava/util/Hashtable;)V
astore 2
start local 2 5: aconst_null
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 14
8: StackMap locals: com.sun.jndi.url.dns.dnsURLContext javax.naming.NamingException int
StackMap stack:
aload 2
aload 0
iload 4
aaload
invokevirtual com.sun.jndi.url.dns.dnsURLContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
astore 7
9: aload 2
invokevirtual com.sun.jndi.url.dns.dnsURLContext.close:()V
10: aload 7
areturn
11: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 5
start local 5 12: aload 5
astore 3
end local 5 13: iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
aload 0
arraylength
if_icmplt 8
end local 4 15: aload 3
athrow
end local 3 16: StackMap locals: java.lang.String[] java.util.Hashtable com.sun.jndi.url.dns.dnsURLContext
StackMap stack: java.lang.Throwable
astore 6
17: aload 2
invokevirtual com.sun.jndi.url.dns.dnsURLContext.close:()V
18: aload 6
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 urls [Ljava/lang/String;
0 19 1 env Ljava/util/Hashtable;
5 19 2 urlCtx Lcom/sun/jndi/url/dns/dnsURLContext;
6 16 3 ne Ljavax/naming/NamingException;
7 15 4 i I
12 13 5 e Ljavax/naming/NamingException;
Exception table:
from to target type
8 9 11 Class javax.naming.NamingException
5 9 16 any
11 16 16 any
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
urls
env
}
SourceFile: "dnsURLContextFactory.java"