class org.springframework.ejb.config.JndiLookupBeanDefinitionParser extends org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.ejb.config.JndiLookupBeanDefinitionParser
super_class: org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser
{
public static final java.lang.String DEFAULT_VALUE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "default-value"
public static final java.lang.String DEFAULT_REF;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "default-ref"
public static final java.lang.String DEFAULT_OBJECT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "defaultObject"
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/ejb/config/JndiLookupBeanDefinitionParser;
protected java.lang.Class<?> getBeanClass(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/springframework/jndi/JndiObjectFactoryBean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/ejb/config/JndiLookupBeanDefinitionParser;
0 1 1 element Lorg/w3c/dom/Element;
Signature: (Lorg/w3c/dom/Element;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
element
protected boolean isEligibleAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser.isEligibleAttribute:(Ljava/lang/String;)Z
ifeq 3
1: ldc "default-value"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
ldc "default-ref"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/ejb/config/JndiLookupBeanDefinitionParser;
0 4 1 attributeName Ljava/lang/String;
MethodParameters:
Name Flags
attributeName
protected void doParse(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.springframework.ejb.config.AbstractJndiLocatingBeanDefinitionParser.doParse:(Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;)V
1: aload 1
ldc "default-value"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 1
ldc "default-ref"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 3: aload 4
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 10
4: aload 5
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 8
5: aload 2
invokevirtual org.springframework.beans.factory.xml.ParserContext.getReaderContext:()Lorg/springframework/beans/factory/xml/XmlReaderContext;
ldc "<jndi-lookup> element is only allowed to contain either 'default-value' attribute OR 'default-ref' attribute, not both"
6: aload 1
7: invokevirtual org.springframework.beans.factory.xml.XmlReaderContext.error:(Ljava/lang/String;Ljava/lang/Object;)V
8: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
ldc "defaultObject"
aload 4
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
9: goto 12
10: StackMap locals:
StackMap stack:
aload 5
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifeq 12
11: aload 3
ldc "defaultObject"
new org.springframework.beans.factory.config.RuntimeBeanReference
dup
aload 5
invokespecial org.springframework.beans.factory.config.RuntimeBeanReference.<init>:(Ljava/lang/String;)V
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
12: StackMap locals:
StackMap stack:
return
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 this Lorg/springframework/ejb/config/JndiLookupBeanDefinitionParser;
0 13 1 element Lorg/w3c/dom/Element;
0 13 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
0 13 3 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
2 13 4 defaultValue Ljava/lang/String;
3 13 5 defaultRef Ljava/lang/String;
MethodParameters:
Name Flags
element
parserContext
builder
}
SourceFile: "JndiLookupBeanDefinitionParser.java"