public class org.hibernate.engine.jndi.internal.JndiServiceImpl implements org.hibernate.engine.jndi.spi.JndiService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.engine.jndi.internal.JndiServiceImpl
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Hashtable initialContextSettings;
descriptor: Ljava/util/Hashtable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/CoreMessageLogger;
1: ldc Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
2: invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic org.hibernate.engine.jndi.internal.JndiServiceImpl.extractJndiProperties:(Ljava/util/Map;)Ljava/util/Properties;
putfield org.hibernate.engine.jndi.internal.JndiServiceImpl.initialContextSettings:Ljava/util/Hashtable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 3 1 configurationValues Ljava/util/Map;
MethodParameters:
Name Flags
configurationValues
public static java.util.Properties (java.util.Map);
descriptor: (Ljava/util/Map;)Ljava/util/Properties;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 18
StackMap locals: java.util.Map java.util.Properties top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: ldc Ljava/lang/String;
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
4: goto 18
5: StackMap locals: java.util.Map java.util.Properties java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
astore 5
start local 5 7: aload 4
ldc "hibernate.jndi"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
8: ldc "hibernate.jndi.class"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
9: aload 5
ifnull 18
10: aload 1
ldc "java.naming.factory.initial"
aload 5
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: goto 18
12: StackMap locals: java.lang.String java.lang.Object
StackMap stack:
ldc "hibernate.jndi.url"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
13: aload 5
ifnull 18
14: aload 1
ldc "java.naming.provider.url"
aload 5
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: goto 18
16: StackMap locals:
StackMap stack:
aload 4
ldc "hibernate.jndi"
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 17: aload 1
aload 6
aload 5
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 4 end local 2 18: StackMap locals: java.util.Map java.util.Properties top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
19: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 configurationValues Ljava/util/Map;
1 20 1 jndiProperties Ljava/util/Properties;
3 18 2 entry Ljava/util/Map$Entry;
6 18 4 propertyName Ljava/lang/String;
7 18 5 propertyValue Ljava/lang/Object;
17 18 6 passThruPropertyname Ljava/lang/String;
MethodParameters:
Name Flags
configurationValues
public java.lang.Object locate(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext:()Ljavax/naming/InitialContext;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.parseName:(Ljava/lang/String;Ljavax/naming/Context;)Ljavax/naming/Name;
astore 3
start local 3 2: aload 2
aload 3
invokevirtual javax.naming.InitialContext.lookup:(Ljavax/naming/Name;)Ljava/lang/Object;
astore 6
3: aload 0
aload 2
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
4: aload 6
areturn
5: StackMap locals: org.hibernate.engine.jndi.internal.JndiServiceImpl java.lang.String javax.naming.InitialContext javax.naming.Name
StackMap stack: javax.naming.NamingException
astore 4
start local 4 6: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Unable to lookup JNDI name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
8: aload 0
aload 2
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
9: aload 5
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 10 1 jndiName Ljava/lang/String;
1 10 2 initialContext Ljavax/naming/InitialContext;
2 10 3 name Ljavax/naming/Name;
6 7 4 e Ljavax/naming/NamingException;
Exception table:
from to target type
2 3 5 Class javax.naming.NamingException
2 3 7 any
5 7 7 any
MethodParameters:
Name Flags
jndiName
private javax.naming.InitialContext buildInitialContext();
descriptor: ()Ljavax/naming/InitialContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.jndi.internal.JndiServiceImpl.initialContextSettings:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
ifne 1
new javax.naming.InitialContext
dup
invokespecial javax.naming.InitialContext.<init>:()V
goto 2
StackMap locals:
StackMap stack:
1: new javax.naming.InitialContext
dup
aload 0
getfield org.hibernate.engine.jndi.internal.JndiServiceImpl.initialContextSettings:Ljava/util/Hashtable;
invokespecial javax.naming.InitialContext.<init>:(Ljava/util/Hashtable;)V
StackMap locals:
StackMap stack: javax.naming.InitialContext
2: areturn
3: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 1
start local 1 4: new org.hibernate.engine.jndi.JndiException
dup
ldc "Unable to open InitialContext"
aload 1
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
4 5 1 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 2 3 Class javax.naming.NamingException
private javax.naming.Name parseName(java.lang.String, javax.naming.Context);
descriptor: (Ljava/lang/String;Ljavax/naming/Context;)Ljavax/naming/Name;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
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;
1: areturn
2: StackMap locals:
StackMap stack: javax.naming.InvalidNameException
astore 3
start local 3 3: new org.hibernate.engine.jndi.JndiNameException
dup
new java.lang.StringBuilder
dup
ldc "JNDI name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "] was not valid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.hibernate.engine.jndi.JndiNameException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 4: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 3
start local 3 5: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Error parsing JNDI name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 6 1 jndiName Ljava/lang/String;
0 6 2 context Ljavax/naming/Context;
3 4 3 e Ljavax/naming/InvalidNameException;
5 6 3 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 1 2 Class javax.naming.InvalidNameException
0 1 4 Class javax.naming.NamingException
MethodParameters:
Name Flags
jndiName
context
private void cleanUp(javax.naming.InitialContext);
descriptor: (Ljavax/naming/InitialContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.naming.InitialContext.close:()V
1: goto 4
2: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 2
start local 2 3: getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 2
invokevirtual javax.naming.NamingException.toString:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.unableToCloseInitialContext:(Ljava/lang/String;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 5 1 initialContext Ljavax/naming/InitialContext;
3 4 2 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
MethodParameters:
Name Flags
initialContext
public void bind(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext:()Ljavax/naming/InitialContext;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.parseName:(Ljava/lang/String;Ljavax/naming/Context;)Ljavax/naming/Name;
astore 4
start local 4 2: aload 0
aload 4
aload 2
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.bind:(Ljavax/naming/Name;Ljava/lang/Object;Ljavax/naming/Context;)V
3: goto 7
4: StackMap locals: org.hibernate.engine.jndi.internal.JndiServiceImpl java.lang.String java.lang.Object javax.naming.InitialContext javax.naming.Name
StackMap stack: java.lang.Throwable
astore 5
5: aload 0
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
6: aload 5
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
8: return
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 Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 9 1 jndiName Ljava/lang/String;
0 9 2 value Ljava/lang/Object;
1 9 3 initialContext Ljavax/naming/InitialContext;
2 9 4 name Ljavax/naming/Name;
Exception table:
from to target type
2 4 4 any
MethodParameters:
Name Flags
jndiName
value
private void bind(javax.naming.Name, java.lang.Object, javax.naming.Context);
descriptor: (Ljavax/naming/Name;Ljava/lang/Object;Ljavax/naming/Context;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Binding : %s"
aload 1
invokeinterface org.hibernate.internal.CoreMessageLogger.tracef:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 3
aload 1
aload 2
invokeinterface javax.naming.Context.rebind:(Ljavax/naming/Name;Ljava/lang/Object;)V
2: goto 32
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 4: aload 1
invokeinterface javax.naming.Name.size:()I
iconst_1
if_icmpne 6
5: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Error performing bind ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
6: StackMap locals: java.lang.Exception
StackMap stack:
aload 3
astore 5
start local 5 7: goto 26
8: StackMap locals: javax.naming.Context
StackMap stack:
aload 1
iconst_0
invokeinterface javax.naming.Name.get:(I)Ljava/lang/String;
astore 6
start local 6 9: aconst_null
astore 7
start local 7 10: getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Intermediate lookup: {0}"
aload 6
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
11: aload 5
aload 6
invokeinterface javax.naming.Context.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.Context
astore 7
12: goto 16
13: StackMap locals: org.hibernate.engine.jndi.internal.JndiServiceImpl javax.naming.Name java.lang.Object javax.naming.Context java.lang.Exception javax.naming.Context java.lang.String javax.naming.Context
StackMap stack: javax.naming.NameNotFoundException
pop
goto 16
14: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 8
start local 8 15: new org.hibernate.engine.jndi.JndiException
dup
ldc "Unanticipated error doing intermediate lookup"
aload 8
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 16: StackMap locals:
StackMap stack:
aload 7
ifnull 19
17: getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Found intermediate context: {0}"
aload 6
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
18: goto 24
19: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Creating sub-context: {0}"
aload 6
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
20: aload 5
aload 6
invokeinterface javax.naming.Context.createSubcontext:(Ljava/lang/String;)Ljavax/naming/Context;
astore 7
21: goto 24
22: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 8
start local 8 23: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Error creating intermediate context ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 8
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 24: StackMap locals:
StackMap stack:
aload 7
astore 5
25: aload 1
iconst_1
invokeinterface javax.naming.Name.getSuffix:(I)Ljavax/naming/Name;
astore 1
end local 7 end local 6 26: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.naming.Name.size:()I
iconst_1
if_icmpgt 8
27: getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Binding : {0}"
aload 1
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
28: aload 5
aload 1
aload 2
invokeinterface javax.naming.Context.rebind:(Ljavax/naming/Name;Ljava/lang/Object;)V
29: goto 32
30: StackMap locals:
StackMap stack: javax.naming.NamingException
astore 6
start local 6 31: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Error performing intermediate bind ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 4 32: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.jndi.internal.JndiServiceImpl.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Bound name: %s"
aload 1
invokeinterface org.hibernate.internal.CoreMessageLogger.debugf:(Ljava/lang/String;Ljava/lang/Object;)V
33: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 34 1 name Ljavax/naming/Name;
0 34 2 value Ljava/lang/Object;
0 34 3 context Ljavax/naming/Context;
4 32 4 initialException Ljava/lang/Exception;
7 32 5 intermediateContextBase Ljavax/naming/Context;
9 26 6 intermediateContextName Ljava/lang/String;
10 26 7 intermediateContext Ljavax/naming/Context;
15 16 8 e Ljavax/naming/NamingException;
23 24 8 e Ljavax/naming/NamingException;
31 32 6 e Ljavax/naming/NamingException;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
10 12 13 Class javax.naming.NameNotFoundException
10 12 14 Class javax.naming.NamingException
20 21 22 Class javax.naming.NamingException
28 29 30 Class javax.naming.NamingException
MethodParameters:
Name Flags
name
value
context
public void unbind(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext:()Ljavax/naming/InitialContext;
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.parseName:(Ljava/lang/String;Ljavax/naming/Context;)Ljavax/naming/Name;
astore 3
start local 3 2: aload 2
aload 3
invokevirtual javax.naming.InitialContext.unbind:(Ljavax/naming/Name;)V
3: goto 9
4: StackMap locals: org.hibernate.engine.jndi.internal.JndiServiceImpl java.lang.String javax.naming.InitialContext javax.naming.Name
StackMap stack: java.lang.Exception
astore 4
start local 4 5: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Error performing unbind ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
7: aload 0
aload 2
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
8: aload 5
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 11 1 jndiName Ljava/lang/String;
1 11 2 initialContext Ljavax/naming/InitialContext;
2 11 3 name Ljavax/naming/Name;
5 6 4 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
2 6 6 any
MethodParameters:
Name Flags
jndiName
public void addListener(java.lang.String, javax.naming.event.NamespaceChangeListener);
descriptor: (Ljava/lang/String;Ljavax/naming/event/NamespaceChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.buildInitialContext:()Ljavax/naming/InitialContext;
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.parseName:(Ljava/lang/String;Ljavax/naming/Context;)Ljavax/naming/Name;
astore 4
start local 4 2: aload 3
checkcast javax.naming.event.EventContext
aload 4
iconst_0
aload 2
invokeinterface javax.naming.event.EventContext.addNamingListener:(Ljavax/naming/Name;ILjavax/naming/event/NamingListener;)V
3: goto 9
4: StackMap locals: org.hibernate.engine.jndi.internal.JndiServiceImpl java.lang.String javax.naming.event.NamespaceChangeListener javax.naming.InitialContext javax.naming.Name
StackMap stack: java.lang.Exception
astore 5
start local 5 5: new org.hibernate.engine.jndi.JndiException
dup
new java.lang.StringBuilder
dup
ldc "Unable to bind listener to namespace ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial org.hibernate.engine.jndi.JndiException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
7: aload 0
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
8: aload 6
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.hibernate.engine.jndi.internal.JndiServiceImpl.cleanUp:(Ljavax/naming/InitialContext;)V
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/engine/jndi/internal/JndiServiceImpl;
0 11 1 jndiName Ljava/lang/String;
0 11 2 listener Ljavax/naming/event/NamespaceChangeListener;
1 11 3 initialContext Ljavax/naming/InitialContext;
2 11 4 name Ljavax/naming/Name;
5 6 5 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
2 6 6 any
MethodParameters:
Name Flags
jndiName
listener
}
SourceFile: "JndiServiceImpl.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map