public class javax.naming.spi.NamingManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.naming.spi.NamingManager
super_class: java.lang.Object
{
static final com.sun.naming.internal.VersionHelper helper;
descriptor: Lcom/sun/naming/internal/VersionHelper;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static javax.naming.spi.ObjectFactoryBuilder object_factory_builder;
descriptor: Ljavax/naming/spi/ObjectFactoryBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.String defaultPkgPrefix;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jndi.url"
private static javax.naming.spi.InitialContextFactoryBuilder initctx_factory_builder;
descriptor: Ljavax/naming/spi/InitialContextFactoryBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final java.lang.String CPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "java.naming.spi.CannotProceedException"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.sun.naming.internal.VersionHelper.getVersionHelper:()Lcom/sun/naming/internal/VersionHelper;
putstatic javax.naming.spi.NamingManager.helper:Lcom/sun/naming/internal/VersionHelper;
1: aconst_null
putstatic javax.naming.spi.NamingManager.object_factory_builder:Ljavax/naming/spi/ObjectFactoryBuilder;
2: aconst_null
putstatic javax.naming.spi.NamingManager.initctx_factory_builder:Ljavax/naming/spi/InitialContextFactoryBuilder;
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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 Ljavax/naming/spi/NamingManager;
public static synchronized void setObjectFactoryBuilder(javax.naming.spi.ObjectFactoryBuilder);
descriptor: (Ljavax/naming/spi/ObjectFactoryBuilder;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic javax.naming.spi.NamingManager.object_factory_builder:Ljavax/naming/spi/ObjectFactoryBuilder;
ifnull 2
1: new java.lang.IllegalStateException
dup
ldc "ObjectFactoryBuilder already set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic javax.naming.spi.NamingManager.object_factory_builder:Ljavax/naming/spi/ObjectFactoryBuilder;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 builder Ljavax/naming/spi/ObjectFactoryBuilder;
3 7 1 security Ljava/lang/SecurityManager;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
builder
static synchronized javax.naming.spi.ObjectFactoryBuilder getObjectFactoryBuilder();
descriptor: ()Ljavax/naming/spi/ObjectFactoryBuilder;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.naming.spi.NamingManager.object_factory_builder:Ljavax/naming/spi/ObjectFactoryBuilder;
areturn
LocalVariableTable:
Start End Slot Name Signature
static javax.naming.spi.ObjectFactory getObjectFactoryFromReference(javax.naming.Reference, java.lang.String);
descriptor: (Ljavax/naming/Reference;Ljava/lang/String;)Ljavax/naming/spi/ObjectFactory;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: getstatic javax.naming.spi.NamingManager.helper:Lcom/sun/naming/internal/VersionHelper;
aload 1
invokevirtual com.sun.naming.internal.VersionHelper.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
2: goto 4
StackMap locals: javax.naming.Reference java.lang.String java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
3: pop
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 10
5: aload 0
invokevirtual javax.naming.Reference.getFactoryClassLocation:()Ljava/lang/String;
dup
astore 3
start local 3 6: ifnull 10
7: getstatic javax.naming.spi.NamingManager.helper:Lcom/sun/naming/internal/VersionHelper;
aload 1
aload 3
invokevirtual com.sun.naming.internal.VersionHelper.loadClass:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;
astore 2
8: goto 10
StackMap locals: javax.naming.Reference java.lang.String java.lang.Class java.lang.String
StackMap stack: java.lang.ClassNotFoundException
9: pop
end local 3 10: StackMap locals:
StackMap stack:
aload 2
ifnull 11
aload 2
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.naming.spi.ObjectFactory
goto 12
StackMap locals:
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: javax.naming.spi.ObjectFactory
12: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 ref Ljavax/naming/Reference;
0 13 1 factoryName Ljava/lang/String;
1 13 2 clas Ljava/lang/Class<*>;
6 10 3 codebase Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.ClassNotFoundException
7 8 9 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.net.MalformedURLException
MethodParameters:
Name Flags
ref
factoryName
private static createObjectFromFactories(, 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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "java.naming.factory.object"
aload 3
aload 2
1: invokestatic com.sun.naming.internal.ResourceManager.getFactories:(Ljava/lang/String;Ljava/util/Hashtable;Ljavax/naming/Context;)Lcom/sun/naming/internal/FactoryEnumeration;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: com.sun.naming.internal.FactoryEnumeration
StackMap stack:
aconst_null
astore 6
start local 6 5: goto 8
6: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable com.sun.naming.internal.FactoryEnumeration top java.lang.Object
StackMap stack:
aload 4
invokevirtual com.sun.naming.internal.FactoryEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.spi.ObjectFactory
astore 5
start local 5 7: aload 5
aload 0
aload 1
aload 2
aload 3
invokeinterface javax.naming.spi.ObjectFactory.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 6
end local 5 8: StackMap locals:
StackMap stack:
aload 6
ifnonnull 9
aload 4
invokevirtual com.sun.naming.internal.FactoryEnumeration.hasMore:()Z
ifne 6
9: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 obj Ljava/lang/Object;
0 10 1 name Ljavax/naming/Name;
0 10 2 nameCtx Ljavax/naming/Context;
0 10 3 environment Ljava/util/Hashtable<**>;
2 10 4 factories Lcom/sun/naming/internal/FactoryEnumeration;
7 8 5 factory Ljavax/naming/spi/ObjectFactory;
5 10 6 answer Ljava/lang/Object;
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
name
nameCtx
environment
private static java.lang.String getURLScheme(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: aload 0
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 2: iload 1
ifle 4
iload 2
iconst_m1
if_icmpeq 3
iload 1
iload 2
if_icmpge 4
3: StackMap locals: int int
StackMap stack:
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 str Ljava/lang/String;
1 5 1 colon_posn I
2 5 2 slash_posn I
MethodParameters:
Name Flags
str
public static 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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic javax.naming.spi.NamingManager.getObjectFactoryBuilder:()Ljavax/naming/spi/ObjectFactoryBuilder;
astore 5
start local 5 1: aload 5
ifnull 6
2: aload 5
aload 0
aload 3
invokeinterface javax.naming.spi.ObjectFactoryBuilder.createObjectFactory:(Ljava/lang/Object;Ljava/util/Hashtable;)Ljavax/naming/spi/ObjectFactory;
astore 4
start local 4 3: aload 4
aload 0
aload 1
aload 2
4: aload 3
5: invokeinterface javax.naming.spi.ObjectFactory.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
areturn
end local 4 6: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable top javax.naming.spi.ObjectFactoryBuilder
StackMap stack:
aconst_null
astore 6
start local 6 7: aload 0
instanceof javax.naming.Reference
ifeq 10
8: aload 0
checkcast javax.naming.Reference
astore 6
9: goto 12
StackMap locals: javax.naming.Reference
StackMap stack:
10: aload 0
instanceof javax.naming.Referenceable
ifeq 12
11: aload 0
checkcast javax.naming.Referenceable
invokeinterface javax.naming.Referenceable.getReference:()Ljavax/naming/Reference;
astore 6
12: StackMap locals:
StackMap stack:
aload 6
ifnull 24
13: aload 6
invokevirtual javax.naming.Reference.getFactoryClassName:()Ljava/lang/String;
astore 8
start local 8 14: aload 8
ifnull 21
15: aload 6
aload 8
invokestatic javax.naming.spi.NamingManager.getObjectFactoryFromReference:(Ljavax/naming/Reference;Ljava/lang/String;)Ljavax/naming/spi/ObjectFactory;
astore 4
start local 4 16: aload 4
ifnull 20
17: aload 4
aload 6
aload 1
aload 2
18: aload 3
19: invokeinterface javax.naming.spi.ObjectFactory.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
areturn
20: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable javax.naming.spi.ObjectFactory javax.naming.spi.ObjectFactoryBuilder javax.naming.Reference top java.lang.String
StackMap stack:
aload 0
areturn
end local 4 21: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable top javax.naming.spi.ObjectFactoryBuilder javax.naming.Reference top java.lang.String
StackMap stack:
aload 6
aload 1
aload 2
aload 3
invokestatic javax.naming.spi.NamingManager.processURLAddrs:(Ljavax/naming/Reference;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 7
start local 7 22: aload 7
ifnull 24
23: aload 7
areturn
end local 8 end local 7 24: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable top javax.naming.spi.ObjectFactoryBuilder javax.naming.Reference
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic javax.naming.spi.NamingManager.createObjectFromFactories:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
25: astore 7
start local 7 26: aload 7
ifnull 27
aload 7
goto 28
StackMap locals: java.lang.Object
StackMap stack:
27: aload 0
StackMap locals:
StackMap stack: java.lang.Object
28: areturn
end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 refInfo Ljava/lang/Object;
0 29 1 name Ljavax/naming/Name;
0 29 2 nameCtx Ljavax/naming/Context;
0 29 3 environment Ljava/util/Hashtable<**>;
3 6 4 factory Ljavax/naming/spi/ObjectFactory;
16 21 4 factory Ljavax/naming/spi/ObjectFactory;
1 29 5 builder Ljavax/naming/spi/ObjectFactoryBuilder;
7 29 6 ref Ljavax/naming/Reference;
22 24 7 answer Ljava/lang/Object;
26 29 7 answer Ljava/lang/Object;
14 24 8 f Ljava/lang/String;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
refInfo
name
nameCtx
environment
static processURLAddrs(javax.naming.Reference, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>);
descriptor: (Ljavax/naming/Reference;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 10
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
invokevirtual javax.naming.Reference.get:(I)Ljavax/naming/RefAddr;
astore 5
start local 5 3: aload 5
instanceof javax.naming.StringRefAddr
ifeq 9
4: aload 5
invokevirtual javax.naming.RefAddr.getType:()Ljava/lang/String;
ldc "URL"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
5: aload 5
invokevirtual javax.naming.RefAddr.getContent:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: aload 6
aload 1
aload 2
aload 3
invokestatic javax.naming.spi.NamingManager.processURL:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 7
start local 7 7: aload 7
ifnull 9
8: aload 7
areturn
end local 7 end local 6 end local 5 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 0
invokevirtual javax.naming.Reference.size:()I
if_icmplt 2
end local 4 11: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 ref Ljavax/naming/Reference;
0 12 1 name Ljavax/naming/Name;
0 12 2 nameCtx Ljavax/naming/Context;
0 12 3 environment Ljava/util/Hashtable<**>;
1 11 4 i I
3 9 5 addr Ljavax/naming/RefAddr;
6 9 6 url Ljava/lang/String;
7 9 7 answer Ljava/lang/Object;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljavax/naming/Reference;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
ref
name
nameCtx
environment
private static processURL(, 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: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
instanceof java.lang.String
ifeq 9
1: aload 0
checkcast java.lang.String
astore 5
start local 5 2: aload 5
invokestatic javax.naming.spi.NamingManager.getURLScheme:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 3: aload 6
ifnull 9
4: aload 6
aload 0
aload 1
aload 2
5: aload 3
6: invokestatic javax.naming.spi.NamingManager.getURLObject:(Ljava/lang/String;Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 4
areturn
end local 6 end local 5 end local 4 9: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.String[]
ifeq 22
10: aload 0
checkcast java.lang.String[]
astore 5
start local 5 11: iconst_0
istore 6
start local 6 12: goto 21
13: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable top java.lang.String[] int
StackMap stack:
aload 5
iload 6
aaload
invokestatic javax.naming.spi.NamingManager.getURLScheme:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 14: aload 7
ifnull 20
15: aload 7
aload 0
aload 1
aload 2
16: aload 3
17: invokestatic javax.naming.spi.NamingManager.getURLObject:(Ljava/lang/String;Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 4
start local 4 18: aload 4
ifnull 20
19: aload 4
areturn
end local 7 end local 4 20: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
21: iload 6
aload 5
arraylength
if_icmplt 13
end local 6 end local 5 22: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 refInfo Ljava/lang/Object;
0 23 1 name Ljavax/naming/Name;
0 23 2 nameCtx Ljavax/naming/Context;
0 23 3 environment Ljava/util/Hashtable<**>;
7 9 4 answer Ljava/lang/Object;
18 20 4 answer Ljava/lang/Object;
2 9 5 url Ljava/lang/String;
3 9 6 scheme Ljava/lang/String;
11 22 5 urls [Ljava/lang/String;
12 22 6 i I
14 20 7 scheme Ljava/lang/String;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
refInfo
name
nameCtx
environment
static javax.naming.Context getContext(, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljavax/naming/Context;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
instanceof javax.naming.Context
ifeq 2
1: aload 0
checkcast javax.naming.Context
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic javax.naming.spi.NamingManager.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 4
start local 4 3: goto 10
end local 4 StackMap locals:
StackMap stack: javax.naming.NamingException
4: astore 5
start local 5 5: aload 5
athrow
end local 5 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 7: new javax.naming.NamingException
dup
invokespecial javax.naming.NamingException.<init>:()V
astore 6
start local 6 8: aload 6
aload 5
invokevirtual javax.naming.NamingException.setRootCause:(Ljava/lang/Throwable;)V
9: aload 6
athrow
end local 6 end local 5 start local 4 10: StackMap locals: java.lang.Object
StackMap stack:
aload 4
instanceof javax.naming.Context
ifeq 12
11: aload 4
checkcast javax.naming.Context
goto 13
12: StackMap locals:
StackMap stack:
aconst_null
13: StackMap locals:
StackMap stack: javax.naming.Context
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 obj Ljava/lang/Object;
0 14 1 name Ljavax/naming/Name;
0 14 2 nameCtx Ljavax/naming/Context;
0 14 3 environment Ljava/util/Hashtable<**>;
3 4 4 answer Ljava/lang/Object;
10 14 4 answer Ljava/lang/Object;
5 6 5 e Ljavax/naming/NamingException;
7 10 5 e Ljava/lang/Exception;
8 10 6 ne Ljavax/naming/NamingException;
Exception table:
from to target type
2 3 4 Class javax.naming.NamingException
2 3 6 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljavax/naming/Context;
MethodParameters:
Name Flags
obj
name
nameCtx
environment
static javax.naming.spi.Resolver getResolver(, javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljavax/naming/spi/Resolver;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
instanceof javax.naming.spi.Resolver
ifeq 2
1: aload 0
checkcast javax.naming.spi.Resolver
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic javax.naming.spi.NamingManager.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 4
start local 4 3: goto 10
end local 4 StackMap locals:
StackMap stack: javax.naming.NamingException
4: astore 5
start local 5 5: aload 5
athrow
end local 5 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 7: new javax.naming.NamingException
dup
invokespecial javax.naming.NamingException.<init>:()V
astore 6
start local 6 8: aload 6
aload 5
invokevirtual javax.naming.NamingException.setRootCause:(Ljava/lang/Throwable;)V
9: aload 6
athrow
end local 6 end local 5 start local 4 10: StackMap locals: java.lang.Object
StackMap stack:
aload 4
instanceof javax.naming.spi.Resolver
ifeq 12
11: aload 4
checkcast javax.naming.spi.Resolver
goto 13
12: StackMap locals:
StackMap stack:
aconst_null
13: StackMap locals:
StackMap stack: javax.naming.spi.Resolver
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 obj Ljava/lang/Object;
0 14 1 name Ljavax/naming/Name;
0 14 2 nameCtx Ljavax/naming/Context;
0 14 3 environment Ljava/util/Hashtable<**>;
3 4 4 answer Ljava/lang/Object;
10 14 4 answer Ljava/lang/Object;
5 6 5 e Ljavax/naming/NamingException;
7 10 5 e Ljava/lang/Exception;
8 10 6 ne Ljavax/naming/NamingException;
Exception table:
from to target type
2 3 4 Class javax.naming.NamingException
2 3 6 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljavax/naming/spi/Resolver;
MethodParameters:
Name Flags
obj
name
nameCtx
environment
public static javax.naming.Context getURLContext(java.lang.String, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/Context;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
aconst_null
aload 1
invokestatic javax.naming.spi.NamingManager.getURLObject:(Ljava/lang/String;Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
instanceof javax.naming.Context
ifeq 3
2: aload 2
checkcast javax.naming.Context
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 scheme Ljava/lang/String;
0 4 1 environment Ljava/util/Hashtable<**>;
1 4 2 answer Ljava/lang/Object;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/String;Ljava/util/Hashtable<**>;)Ljavax/naming/Context;
MethodParameters:
Name Flags
scheme
environment
private static getURLObject(java.lang.String, , javax.naming.Name, javax.naming.Context, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "java.naming.factory.url.pkgs"
aload 4
aload 3
1: new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "URLContextFactory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "com.sun.jndi.url"
2: invokestatic com.sun.naming.internal.ResourceManager.getFactory:(Ljava/lang/String;Ljava/util/Hashtable;Ljavax/naming/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.spi.ObjectFactory
astore 5
start local 5 3: aload 5
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: javax.naming.spi.ObjectFactory
StackMap stack:
aload 5
aload 1
aload 2
aload 3
aload 4
invokeinterface javax.naming.spi.ObjectFactory.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
6: areturn
7: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 6
start local 6 8: aload 6
athrow
end local 6 9: StackMap locals:
StackMap stack: java.lang.Exception
astore 6
start local 6 10: new javax.naming.NamingException
dup
invokespecial javax.naming.NamingException.<init>:()V
astore 7
start local 7 11: aload 7
aload 6
invokevirtual javax.naming.NamingException.setRootCause:(Ljava/lang/Throwable;)V
12: aload 7
athrow
end local 7 end local 6 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 13 0 scheme Ljava/lang/String;
0 13 1 urlInfo Ljava/lang/Object;
0 13 2 name Ljavax/naming/Name;
0 13 3 nameCtx Ljavax/naming/Context;
0 13 4 environment Ljava/util/Hashtable<**>;
3 13 5 factory Ljavax/naming/spi/ObjectFactory;
8 9 6 e Ljavax/naming/NamingException;
10 13 6 e Ljava/lang/Exception;
11 13 7 ne Ljavax/naming/NamingException;
Exception table:
from to target type
5 6 7 Class javax.naming.NamingException
5 6 9 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/String;Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
scheme
urlInfo
name
nameCtx
environment
private static synchronized javax.naming.spi.InitialContextFactoryBuilder getInitialContextFactoryBuilder();
descriptor: ()Ljavax/naming/spi/InitialContextFactoryBuilder;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic javax.naming.spi.NamingManager.initctx_factory_builder:Ljavax/naming/spi/InitialContextFactoryBuilder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.naming.Context getInitialContext(java.util.Hashtable<?, ?>);
descriptor: (Ljava/util/Hashtable;)Ljavax/naming/Context;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: invokestatic javax.naming.spi.NamingManager.getInitialContextFactoryBuilder:()Ljavax/naming/spi/InitialContextFactoryBuilder;
astore 2
start local 2 1: aload 2
ifnonnull 21
2: aload 0
ifnull 4
3: aload 0
ldc "java.naming.factory.initial"
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
goto 5
StackMap locals: java.util.Hashtable top javax.naming.spi.InitialContextFactoryBuilder
StackMap stack:
4: aconst_null
5: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 6: aload 3
ifnonnull 11
7: new javax.naming.NoInitialContextException
dup
8: ldc "Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial"
9: invokespecial javax.naming.NoInitialContextException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 10: aload 4
athrow
end local 4 11: StackMap locals: java.lang.String
StackMap stack:
getstatic javax.naming.spi.NamingManager.helper:Lcom/sun/naming/internal/VersionHelper;
aload 3
invokevirtual com.sun.naming.internal.VersionHelper.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast javax.naming.spi.InitialContextFactory
12: astore 1
start local 1 13: goto 22
end local 1 StackMap locals:
StackMap stack: java.lang.Exception
14: astore 4
start local 4 15: new javax.naming.NoInitialContextException
dup
16: new java.lang.StringBuilder
dup
ldc "Cannot instantiate class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial javax.naming.NoInitialContextException.<init>:(Ljava/lang/String;)V
18: astore 5
start local 5 19: aload 5
aload 4
invokevirtual javax.naming.NoInitialContextException.setRootCause:(Ljava/lang/Throwable;)V
20: aload 5
athrow
end local 5 end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 2
aload 0
invokeinterface javax.naming.spi.InitialContextFactoryBuilder.createInitialContextFactory:(Ljava/util/Hashtable;)Ljavax/naming/spi/InitialContextFactory;
astore 1
start local 1 22: StackMap locals: java.util.Hashtable javax.naming.spi.InitialContextFactory javax.naming.spi.InitialContextFactoryBuilder
StackMap stack:
aload 1
aload 0
invokeinterface javax.naming.spi.InitialContextFactory.getInitialContext:(Ljava/util/Hashtable;)Ljavax/naming/Context;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 env Ljava/util/Hashtable<**>;
13 14 1 factory Ljavax/naming/spi/InitialContextFactory;
22 23 1 factory Ljavax/naming/spi/InitialContextFactory;
1 23 2 builder Ljavax/naming/spi/InitialContextFactoryBuilder;
6 21 3 className Ljava/lang/String;
10 11 4 ne Ljavax/naming/NoInitialContextException;
15 21 4 e Ljava/lang/Exception;
19 21 5 ne Ljavax/naming/NoInitialContextException;
Exception table:
from to target type
11 13 14 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/util/Hashtable<**>;)Ljavax/naming/Context;
MethodParameters:
Name Flags
env
public static synchronized void setInitialContextFactoryBuilder(javax.naming.spi.InitialContextFactoryBuilder);
descriptor: (Ljavax/naming/spi/InitialContextFactoryBuilder;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic javax.naming.spi.NamingManager.initctx_factory_builder:Ljavax/naming/spi/InitialContextFactoryBuilder;
ifnull 4
1: new java.lang.IllegalStateException
dup
2: ldc "InitialContextFactoryBuilder already set"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 5: aload 1
ifnull 7
6: aload 1
invokevirtual java.lang.SecurityManager.checkSetFactory:()V
7: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
putstatic javax.naming.spi.NamingManager.initctx_factory_builder:Ljavax/naming/spi/InitialContextFactoryBuilder;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 builder Ljavax/naming/spi/InitialContextFactoryBuilder;
5 9 1 security Ljava/lang/SecurityManager;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
builder
public static boolean hasInitialContextFactoryBuilder();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic javax.naming.spi.NamingManager.getInitialContextFactoryBuilder:()Ljavax/naming/spi/InitialContextFactoryBuilder;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.naming.Context getContinuationContext(javax.naming.CannotProceedException);
descriptor: (Ljavax/naming/CannotProceedException;)Ljavax/naming/Context;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.naming.CannotProceedException.getEnvironment:()Ljava/util/Hashtable;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: new java.util.Hashtable
dup
bipush 7
invokespecial java.util.Hashtable.<init>:(I)V
astore 1
3: goto 5
4: StackMap locals: java.util.Hashtable
StackMap stack:
aload 1
invokevirtual java.util.Hashtable.clone:()Ljava/lang/Object;
checkcast java.util.Hashtable
astore 1
5: StackMap locals:
StackMap stack:
aload 1
ldc "java.naming.spi.CannotProceedException"
aload 0
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: new javax.naming.spi.ContinuationContext
dup
aload 0
aload 1
invokespecial javax.naming.spi.ContinuationContext.<init>:(Ljavax/naming/CannotProceedException;Ljava/util/Hashtable;)V
astore 2
start local 2 7: aload 2
invokevirtual javax.naming.spi.ContinuationContext.getTargetContext:()Ljavax/naming/Context;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cpe Ljavax/naming/CannotProceedException;
1 8 1 env Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;
7 8 2 cctx Ljavax/naming/spi/ContinuationContext;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
cpe
public static getStateToBind(, 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: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "java.naming.factory.state"
aload 3
aload 2
1: invokestatic com.sun.naming.internal.ResourceManager.getFactories:(Ljava/lang/String;Ljava/util/Hashtable;Ljavax/naming/Context;)Lcom/sun/naming/internal/FactoryEnumeration;
astore 4
start local 4 2: aload 4
ifnonnull 4
3: aload 0
areturn
4: StackMap locals: com.sun.naming.internal.FactoryEnumeration
StackMap stack:
aconst_null
astore 6
start local 6 5: goto 8
6: StackMap locals: java.lang.Object javax.naming.Name javax.naming.Context java.util.Hashtable com.sun.naming.internal.FactoryEnumeration top java.lang.Object
StackMap stack:
aload 4
invokevirtual com.sun.naming.internal.FactoryEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.spi.StateFactory
astore 5
start local 5 7: aload 5
aload 0
aload 1
aload 2
aload 3
invokeinterface javax.naming.spi.StateFactory.getStateToBind:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 6
end local 5 8: StackMap locals:
StackMap stack:
aload 6
ifnonnull 9
aload 4
invokevirtual com.sun.naming.internal.FactoryEnumeration.hasMore:()Z
ifne 6
9: StackMap locals:
StackMap stack:
aload 6
ifnull 10
aload 6
goto 11
StackMap locals:
StackMap stack:
10: aload 0
StackMap locals:
StackMap stack: java.lang.Object
11: areturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 obj Ljava/lang/Object;
0 12 1 name Ljavax/naming/Name;
0 12 2 nameCtx Ljavax/naming/Context;
0 12 3 environment Ljava/util/Hashtable<**>;
2 12 4 factories Lcom/sun/naming/internal/FactoryEnumeration;
7 8 5 factory Ljavax/naming/spi/StateFactory;
5 12 6 answer Ljava/lang/Object;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable<**>;)Ljava/lang/Object;
MethodParameters:
Name Flags
obj
name
nameCtx
environment
}
SourceFile: "NamingManager.java"