class org.springframework.context.config.MBeanExportBeanDefinitionParser extends org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.context.config.MBeanExportBeanDefinitionParser
super_class: org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
{
private static final java.lang.String MBEAN_EXPORTER_BEAN_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mbeanExporter"
private static final java.lang.String DEFAULT_DOMAIN_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "default-domain"
private static final java.lang.String SERVER_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "server"
private static final java.lang.String REGISTRATION_ATTRIBUTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "registration"
private static final java.lang.String REGISTRATION_IGNORE_EXISTING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ignoreExisting"
private static final java.lang.String REGISTRATION_REPLACE_EXISTING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "replaceExisting"
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/config/MBeanExportBeanDefinitionParser;
protected java.lang.String resolveId(org.w3c.dom.Element, org.springframework.beans.factory.support.AbstractBeanDefinition, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/support/AbstractBeanDefinition;Lorg/springframework/beans/factory/xml/ParserContext;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "mbeanExporter"
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/config/MBeanExportBeanDefinitionParser;
0 1 1 element Lorg/w3c/dom/Element;
0 1 2 definition Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
0 1 3 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
MethodParameters:
Name Flags
element
definition
parserContext
protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(org.w3c.dom.Element, org.springframework.beans.factory.xml.ParserContext);
descriptor: (Lorg/w3c/dom/Element;Lorg/springframework/beans/factory/xml/ParserContext;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/springframework/jmx/export/annotation/AnnotationMBeanExporter;
invokestatic org.springframework.beans.factory.support.BeanDefinitionBuilder.rootBeanDefinition:(Ljava/lang/Class;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
astore 3
start local 3 1: aload 3
iconst_2
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.setRole:(I)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
2: aload 3
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getRawBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
aload 2
aload 1
invokevirtual org.springframework.beans.factory.xml.ParserContext.extractSource:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.beans.factory.support.AbstractBeanDefinition.setSource:(Ljava/lang/Object;)V
3: aload 1
ldc "default-domain"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 4: aload 4
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 6
5: aload 3
ldc "defaultDomain"
aload 4
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
6: StackMap locals: org.springframework.beans.factory.support.BeanDefinitionBuilder java.lang.String
StackMap stack:
aload 1
ldc "server"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: aload 5
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 10
8: aload 3
ldc "server"
aload 5
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyReference:(Ljava/lang/String;Ljava/lang/String;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
9: goto 13
10: StackMap locals: java.lang.String
StackMap stack:
invokestatic org.springframework.context.config.MBeanServerBeanDefinitionParser.findServerForSpecialEnvironment:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
astore 6
start local 6 11: aload 6
ifnull 13
12: aload 3
ldc "server"
aload 6
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
end local 6 13: StackMap locals:
StackMap stack:
aload 1
ldc "registration"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 14: getstatic org.springframework.jmx.support.RegistrationPolicy.FAIL_ON_EXISTING:Lorg/springframework/jmx/support/RegistrationPolicy;
astore 7
start local 7 15: ldc "ignoreExisting"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: getstatic org.springframework.jmx.support.RegistrationPolicy.IGNORE_EXISTING:Lorg/springframework/jmx/support/RegistrationPolicy;
astore 7
17: goto 20
18: StackMap locals: java.lang.String org.springframework.jmx.support.RegistrationPolicy
StackMap stack:
ldc "replaceExisting"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
19: getstatic org.springframework.jmx.support.RegistrationPolicy.REPLACE_EXISTING:Lorg/springframework/jmx/support/RegistrationPolicy;
astore 7
20: StackMap locals:
StackMap stack:
aload 3
ldc "registrationPolicy"
aload 7
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.addPropertyValue:(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
pop
21: aload 3
invokevirtual org.springframework.beans.factory.support.BeanDefinitionBuilder.getBeanDefinition:()Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
areturn
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 22 0 this Lorg/springframework/context/config/MBeanExportBeanDefinitionParser;
0 22 1 element Lorg/w3c/dom/Element;
0 22 2 parserContext Lorg/springframework/beans/factory/xml/ParserContext;
1 22 3 builder Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
4 22 4 defaultDomain Ljava/lang/String;
7 22 5 serverBeanName Ljava/lang/String;
11 13 6 specialServer Lorg/springframework/beans/factory/support/AbstractBeanDefinition;
14 22 6 registration Ljava/lang/String;
15 22 7 registrationPolicy Lorg/springframework/jmx/support/RegistrationPolicy;
MethodParameters:
Name Flags
element
parserContext
}
SourceFile: "MBeanExportBeanDefinitionParser.java"