public final class org.hibernate.internal.util.jndi.JndiHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.internal.util.jndi.JndiHelper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/internal/util/jndi/JndiHelper;
public static java.util.Properties (java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/util/Properties;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.engine.jndi.internal.JndiServiceImpl.extractJndiProperties:(Ljava/util/Map;)Ljava/util/Properties;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configurationValues Ljava/util/Map;
MethodParameters:
Name Flags
configurationValues
public static javax.naming.InitialContext getInitialContext(java.util.Properties);
descriptor: (Ljava/util/Properties;)Ljavax/naming/InitialContext;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.jndi.JndiHelper.extractJndiProperties:(Ljava/util/Map;)Ljava/util/Properties;
astore 1
start local 1 1: aload 1
invokevirtual java.util.Hashtable.size:()I
ifne 2
new javax.naming.InitialContext
dup
invokespecial javax.naming.InitialContext.<init>:()V
goto 3
StackMap locals: java.util.Hashtable
StackMap stack:
2: new javax.naming.InitialContext
dup
aload 1
invokespecial javax.naming.InitialContext.<init>:(Ljava/util/Hashtable;)V
StackMap locals:
StackMap stack: javax.naming.InitialContext
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 props Ljava/util/Properties;
1 4 1 hash Ljava/util/Hashtable;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
props
public static void bind(javax.naming.Context, java.lang.String, java.lang.Object);
descriptor: (Ljavax/naming/Context;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokeinterface javax.naming.Context.rebind:(Ljava/lang/String;Ljava/lang/Object;)V
1: goto 17
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aload 0
ldc ""
invokeinterface javax.naming.Context.getNameParser:(Ljava/lang/String;)Ljavax/naming/NameParser;
aload 1
invokeinterface javax.naming.NameParser.parse:(Ljava/lang/String;)Ljavax/naming/Name;
astore 3
start local 3 4: goto 15
5: StackMap locals: javax.naming.Name
StackMap stack:
aload 3
iconst_0
invokeinterface javax.naming.Name.get:(I)Ljava/lang/String;
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: aload 0
aload 4
invokeinterface javax.naming.Context.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.Context
astore 5
8: goto 10
9: StackMap locals: javax.naming.Context java.lang.String java.lang.Object javax.naming.Name java.lang.String javax.naming.Context
StackMap stack: javax.naming.NameNotFoundException
pop
10: StackMap locals:
StackMap stack:
aload 5
ifnull 13
11: aload 5
astore 0
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
aload 4
invokeinterface javax.naming.Context.createSubcontext:(Ljava/lang/String;)Ljavax/naming/Context;
astore 0
14: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokeinterface javax.naming.Name.getSuffix:(I)Ljavax/naming/Name;
astore 3
end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 3
invokeinterface javax.naming.Name.size:()I
iconst_1
if_icmpgt 5
16: aload 0
aload 3
aload 2
invokeinterface javax.naming.Context.rebind:(Ljavax/naming/Name;Ljava/lang/Object;)V
end local 3 17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 ctx Ljavax/naming/Context;
0 18 1 name Ljava/lang/String;
0 18 2 val Ljava/lang/Object;
4 17 3 n Ljavax/naming/Name;
6 15 4 ctxName Ljava/lang/String;
7 15 5 subctx Ljavax/naming/Context;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
7 8 9 Class javax.naming.NameNotFoundException
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
ctx
name
val
}
SourceFile: "JndiHelper.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()