public class org.springframework.jndi.JndiLocatorDelegate extends org.springframework.jndi.JndiLocatorSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jndi.JndiLocatorDelegate
super_class: org.springframework.jndi.JndiLocatorSupport
{
public static final java.lang.String IGNORE_JNDI_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "spring.jndi.ignore"
private static final boolean shouldIgnoreDefaultJndiEnvironment;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "spring.jndi.ignore"
invokestatic org.springframework.core.SpringProperties.getFlag:(Ljava/lang/String;)Z
1: putstatic org.springframework.jndi.JndiLocatorDelegate.shouldIgnoreDefaultJndiEnvironment:Z
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.jndi.JndiLocatorSupport.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jndi/JndiLocatorDelegate;
public java.lang.Object lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.jndi.JndiLocatorSupport.lookup:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jndi/JndiLocatorDelegate;
0 1 1 jndiName Ljava/lang/String;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
jndiName
public <T> T lookup(java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.springframework.jndi.JndiLocatorSupport.lookup:(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jndi/JndiLocatorDelegate;
0 1 1 jndiName Ljava/lang/String;
0 1 2 requiredType Ljava/lang/Class<TT;>;
Exceptions:
throws javax.naming.NamingException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/Class<TT;>;)TT;
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
jndiName
requiredType
public static org.springframework.jndi.JndiLocatorDelegate createDefaultResourceRefLocator();
descriptor: ()Lorg/springframework/jndi/JndiLocatorDelegate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new org.springframework.jndi.JndiLocatorDelegate
dup
invokespecial org.springframework.jndi.JndiLocatorDelegate.<init>:()V
astore 0
start local 0 1: aload 0
iconst_1
invokevirtual org.springframework.jndi.JndiLocatorDelegate.setResourceRef:(Z)V
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 jndiLocator Lorg/springframework/jndi/JndiLocatorDelegate;
public static boolean isDefaultJndiEnvironmentAvailable();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic org.springframework.jndi.JndiLocatorDelegate.shouldIgnoreDefaultJndiEnvironment:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
new javax.naming.InitialContext
dup
invokespecial javax.naming.InitialContext.<init>:()V
invokevirtual javax.naming.InitialContext.getEnvironment:()Ljava/util/Hashtable;
pop
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
pop
5: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
}
SourceFile: "JndiLocatorDelegate.java"