public class org.springframework.beans.factory.xml.XmlBeanDefinitionReader extends org.springframework.beans.factory.support.AbstractBeanDefinitionReader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
super_class: org.springframework.beans.factory.support.AbstractBeanDefinitionReader
{
public static final int VALIDATION_NONE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int VALIDATION_AUTO;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int VALIDATION_DTD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int VALIDATION_XSD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final org.springframework.core.Constants constants;
descriptor: Lorg/springframework/core/Constants;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private int validationMode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean namespaceAware;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<? extends org.springframework.beans.factory.xml.BeanDefinitionDocumentReader> documentReaderClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<+Lorg/springframework/beans/factory/xml/BeanDefinitionDocumentReader;>;
private org.springframework.beans.factory.parsing.ProblemReporter problemReporter;
descriptor: Lorg/springframework/beans/factory/parsing/ProblemReporter;
flags: (0x0002) ACC_PRIVATE
private org.springframework.beans.factory.parsing.ReaderEventListener eventListener;
descriptor: Lorg/springframework/beans/factory/parsing/ReaderEventListener;
flags: (0x0002) ACC_PRIVATE
private org.springframework.beans.factory.parsing.SourceExtractor sourceExtractor;
descriptor: Lorg/springframework/beans/factory/parsing/SourceExtractor;
flags: (0x0002) ACC_PRIVATE
private org.springframework.beans.factory.xml.NamespaceHandlerResolver namespaceHandlerResolver;
descriptor: Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.springframework.beans.factory.xml.DocumentLoader documentLoader;
descriptor: Lorg/springframework/beans/factory/xml/DocumentLoader;
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.EntityResolver entityResolver;
descriptor: Lorg/xml/sax/EntityResolver;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private org.xml.sax.ErrorHandler errorHandler;
descriptor: Lorg/xml/sax/ErrorHandler;
flags: (0x0002) ACC_PRIVATE
private final org.springframework.util.xml.XmlValidationModeDetector validationModeDetector;
descriptor: Lorg/springframework/util/xml/XmlValidationModeDetector;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.ThreadLocal<java.util.Set<org.springframework.core.io.support.EncodedResource>> resourcesCurrentlyBeingLoaded;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/Set<Lorg/springframework/core/io/support/EncodedResource;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.springframework.core.Constants
dup
ldc Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
invokespecial org.springframework.core.Constants.<init>:(Ljava/lang/Class;)V
putstatic org.springframework.beans.factory.xml.XmlBeanDefinitionReader.constants:Lorg/springframework/core/Constants;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.springframework.beans.factory.support.BeanDefinitionRegistry);
descriptor: (Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.beans.factory.support.AbstractBeanDefinitionReader.<init>:(Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;)V
1: aload 0
iconst_1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.validationMode:I
2: aload 0
iconst_0
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceAware:Z
3: aload 0
4: ldc Lorg/springframework/beans/factory/xml/DefaultBeanDefinitionDocumentReader;
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.documentReaderClass:Ljava/lang/Class;
5: aload 0
new org.springframework.beans.factory.parsing.FailFastProblemReporter
dup
invokespecial org.springframework.beans.factory.parsing.FailFastProblemReporter.<init>:()V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.problemReporter:Lorg/springframework/beans/factory/parsing/ProblemReporter;
6: aload 0
new org.springframework.beans.factory.parsing.EmptyReaderEventListener
dup
invokespecial org.springframework.beans.factory.parsing.EmptyReaderEventListener.<init>:()V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.eventListener:Lorg/springframework/beans/factory/parsing/ReaderEventListener;
7: aload 0
new org.springframework.beans.factory.parsing.NullSourceExtractor
dup
invokespecial org.springframework.beans.factory.parsing.NullSourceExtractor.<init>:()V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.sourceExtractor:Lorg/springframework/beans/factory/parsing/SourceExtractor;
8: aload 0
new org.springframework.beans.factory.xml.DefaultDocumentLoader
dup
invokespecial org.springframework.beans.factory.xml.DefaultDocumentLoader.<init>:()V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.documentLoader:Lorg/springframework/beans/factory/xml/DocumentLoader;
9: aload 0
new org.springframework.util.xml.SimpleSaxErrorHandler
dup
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokespecial org.springframework.util.xml.SimpleSaxErrorHandler.<init>:(Lorg/apache/commons/logging/Log;)V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.errorHandler:Lorg/xml/sax/ErrorHandler;
10: aload 0
new org.springframework.util.xml.XmlValidationModeDetector
dup
invokespecial org.springframework.util.xml.XmlValidationModeDetector.<init>:()V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.validationModeDetector:Lorg/springframework/util/xml/XmlValidationModeDetector;
11: aload 0
12: new org.springframework.beans.factory.xml.XmlBeanDefinitionReader$1
dup
aload 0
ldc "XML bean definition resources currently being loaded"
invokespecial org.springframework.beans.factory.xml.XmlBeanDefinitionReader$1.<init>:(Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;Ljava/lang/String;)V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.resourcesCurrentlyBeingLoaded:Ljava/lang/ThreadLocal;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 14 1 registry Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
MethodParameters:
Name Flags
registry
public void setValidating(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
1: iconst_0
StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader int
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader int
2: putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.validationMode:I
3: aload 0
iload 1
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
4: iconst_1
StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader int
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader int
5: putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceAware:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 7 1 validating Z
MethodParameters:
Name Flags
validating
public void setValidationModeName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.springframework.beans.factory.xml.XmlBeanDefinitionReader.constants:Lorg/springframework/core/Constants;
aload 1
invokevirtual org.springframework.core.Constants.asNumber:(Ljava/lang/String;)Ljava/lang/Number;
invokevirtual java.lang.Number.intValue:()I
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setValidationMode:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 validationModeName Ljava/lang/String;
MethodParameters:
Name Flags
validationModeName
public void setValidationMode(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.validationMode:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 validationMode I
MethodParameters:
Name Flags
validationMode
public int getValidationMode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.validationMode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
public void setNamespaceAware(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceAware:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 namespaceAware Z
MethodParameters:
Name Flags
namespaceAware
public boolean isNamespaceAware();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceAware:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
public void setProblemReporter(org.springframework.beans.factory.parsing.ProblemReporter);
descriptor: (Lorg/springframework/beans/factory/parsing/ProblemReporter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
1: new org.springframework.beans.factory.parsing.FailFastProblemReporter
dup
invokespecial org.springframework.beans.factory.parsing.FailFastProblemReporter.<init>:()V
StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.parsing.ProblemReporter
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.parsing.ProblemReporter
2: putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.problemReporter:Lorg/springframework/beans/factory/parsing/ProblemReporter;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 4 1 problemReporter Lorg/springframework/beans/factory/parsing/ProblemReporter;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
problemReporter
public void setEventListener(org.springframework.beans.factory.parsing.ReaderEventListener);
descriptor: (Lorg/springframework/beans/factory/parsing/ReaderEventListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
1: new org.springframework.beans.factory.parsing.EmptyReaderEventListener
dup
invokespecial org.springframework.beans.factory.parsing.EmptyReaderEventListener.<init>:()V
StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.parsing.ReaderEventListener
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.parsing.ReaderEventListener
2: putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.eventListener:Lorg/springframework/beans/factory/parsing/ReaderEventListener;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 4 1 eventListener Lorg/springframework/beans/factory/parsing/ReaderEventListener;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
eventListener
public void setSourceExtractor(org.springframework.beans.factory.parsing.SourceExtractor);
descriptor: (Lorg/springframework/beans/factory/parsing/SourceExtractor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
1: new org.springframework.beans.factory.parsing.NullSourceExtractor
dup
invokespecial org.springframework.beans.factory.parsing.NullSourceExtractor.<init>:()V
StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.parsing.SourceExtractor
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.parsing.SourceExtractor
2: putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.sourceExtractor:Lorg/springframework/beans/factory/parsing/SourceExtractor;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 4 1 sourceExtractor Lorg/springframework/beans/factory/parsing/SourceExtractor;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
sourceExtractor
public void setNamespaceHandlerResolver(org.springframework.beans.factory.xml.NamespaceHandlerResolver);
descriptor: (Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceHandlerResolver:Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 namespaceHandlerResolver Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
namespaceHandlerResolver
public void setDocumentLoader(org.springframework.beans.factory.xml.DocumentLoader);
descriptor: (Lorg/springframework/beans/factory/xml/DocumentLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader
1: new org.springframework.beans.factory.xml.DefaultDocumentLoader
dup
invokespecial org.springframework.beans.factory.xml.DefaultDocumentLoader.<init>:()V
StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.xml.DocumentLoader
StackMap stack: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.beans.factory.xml.DocumentLoader
2: putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.documentLoader:Lorg/springframework/beans/factory/xml/DocumentLoader;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 4 1 documentLoader Lorg/springframework/beans/factory/xml/DocumentLoader;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
documentLoader
public void setEntityResolver(org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/EntityResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.entityResolver:Lorg/xml/sax/EntityResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 entityResolver Lorg/xml/sax/EntityResolver;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
entityResolver
protected org.xml.sax.EntityResolver getEntityResolver();
descriptor: ()Lorg/xml/sax/EntityResolver;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.entityResolver:Lorg/xml/sax/EntityResolver;
ifnonnull 6
1: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getResourceLoader:()Lorg/springframework/core/io/ResourceLoader;
astore 1
start local 1 2: aload 1
ifnull 5
3: aload 0
new org.springframework.beans.factory.xml.ResourceEntityResolver
dup
aload 1
invokespecial org.springframework.beans.factory.xml.ResourceEntityResolver.<init>:(Lorg/springframework/core/io/ResourceLoader;)V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.entityResolver:Lorg/xml/sax/EntityResolver;
4: goto 6
5: StackMap locals: org.springframework.core.io.ResourceLoader
StackMap stack:
aload 0
new org.springframework.beans.factory.xml.DelegatingEntityResolver
dup
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getBeanClassLoader:()Ljava/lang/ClassLoader;
invokespecial org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>:(Ljava/lang/ClassLoader;)V
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.entityResolver:Lorg/xml/sax/EntityResolver;
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.entityResolver:Lorg/xml/sax/EntityResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
2 6 1 resourceLoader Lorg/springframework/core/io/ResourceLoader;
public void setErrorHandler(org.xml.sax.ErrorHandler);
descriptor: (Lorg/xml/sax/ErrorHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.errorHandler:Lorg/xml/sax/ErrorHandler;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 errorHandler Lorg/xml/sax/ErrorHandler;
MethodParameters:
Name Flags
errorHandler
public void setDocumentReaderClass(java.lang.Class<? extends org.springframework.beans.factory.xml.BeanDefinitionDocumentReader>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.documentReaderClass:Ljava/lang/Class;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 2 1 documentReaderClass Ljava/lang/Class<+Lorg/springframework/beans/factory/xml/BeanDefinitionDocumentReader;>;
Signature: (Ljava/lang/Class<+Lorg/springframework/beans/factory/xml/BeanDefinitionDocumentReader;>;)V
MethodParameters:
Name Flags
documentReaderClass
public int loadBeanDefinitions(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.springframework.core.io.support.EncodedResource
dup
aload 1
invokespecial org.springframework.core.io.support.EncodedResource.<init>:(Lorg/springframework/core/io/Resource;)V
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:(Lorg/springframework/core/io/support/EncodedResource;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 1 1 resource Lorg/springframework/core/io/Resource;
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
resource
public int loadBeanDefinitions(org.springframework.core.io.support.EncodedResource);
descriptor: (Lorg/springframework/core/io/support/EncodedResource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ldc "EncodedResource must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isTraceEnabled:()Z
ifeq 3
2: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Loading XML bean definitions from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.trace:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.resourcesCurrentlyBeingLoaded:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.Set
astore 2
start local 2 4: aload 2
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifne 8
5: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
6: new java.lang.StringBuilder
dup
ldc "Detected cyclic loading of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " - check your import definitions!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.util.Set
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
9: aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getResource:()Lorg/springframework/core/io/Resource;
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
astore 5
start local 5 10: new org.xml.sax.InputSource
dup
aload 5
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 11: aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getEncoding:()Ljava/lang/String;
ifnull 13
12: aload 6
aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getEncoding:()Ljava/lang/String;
invokevirtual org.xml.sax.InputSource.setEncoding:(Ljava/lang/String;)V
13: StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.core.io.support.EncodedResource java.util.Set java.lang.Throwable java.lang.Throwable java.io.InputStream org.xml.sax.InputSource
StackMap stack:
aload 0
aload 6
aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getResource:()Lorg/springframework/core/io/Resource;
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions:(Lorg/xml/sax/InputSource;Lorg/springframework/core/io/Resource;)I
istore 8
14: aload 5
ifnull 15
aload 5
invokevirtual java.io.InputStream.close:()V
15: StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.core.io.support.EncodedResource java.util.Set java.lang.Throwable java.lang.Throwable java.io.InputStream org.xml.sax.InputSource top int
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
16: aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifeq 18
17: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.resourcesCurrentlyBeingLoaded:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
18: StackMap locals:
StackMap stack:
iload 8
ireturn
end local 6 StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.core.io.support.EncodedResource java.util.Set java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
19: astore 3
20: aload 5
ifnull 21
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
21: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 4
aload 3
ifnonnull 23
aload 4
astore 3
goto 24
StackMap locals:
StackMap stack:
23: aload 3
aload 4
if_acmpeq 24
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
24: aload 3
athrow
25: StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.core.io.support.EncodedResource java.util.Set
StackMap stack: java.io.IOException
astore 3
start local 3 26: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
27: new java.lang.StringBuilder
dup
ldc "IOException parsing XML document from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.springframework.core.io.support.EncodedResource.getResource:()Lorg/springframework/core/io/Resource;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
28: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 29: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
30: aload 2
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
31: aload 2
invokeinterface java.util.Set.isEmpty:()Z
ifeq 33
32: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.resourcesCurrentlyBeingLoaded:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.remove:()V
33: StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.springframework.core.io.support.EncodedResource java.util.Set top top top top java.lang.Throwable
StackMap stack:
aload 7
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 34 1 encodedResource Lorg/springframework/core/io/support/EncodedResource;
4 34 2 currentResources Ljava/util/Set<Lorg/springframework/core/io/support/EncodedResource;>;
10 21 5 inputStream Ljava/io/InputStream;
11 19 6 inputSource Lorg/xml/sax/InputSource;
26 29 3 ex Ljava/io/IOException;
Exception table:
from to target type
10 14 19 any
9 15 22 any
19 22 22 any
8 15 25 Class java.io.IOException
19 25 25 Class java.io.IOException
8 15 29 any
19 29 29 any
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
encodedResource
public int loadBeanDefinitions(org.xml.sax.InputSource);
descriptor: (Lorg/xml/sax/InputSource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "resource loaded through SAX InputSource"
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:(Lorg/xml/sax/InputSource;Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 1 1 inputSource Lorg/xml/sax/InputSource;
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
inputSource
public int loadBeanDefinitions(org.xml.sax.InputSource, java.lang.String);
descriptor: (Lorg/xml/sax/InputSource;Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new org.springframework.core.io.DescriptiveResource
dup
aload 2
invokespecial org.springframework.core.io.DescriptiveResource.<init>:(Ljava/lang/String;)V
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions:(Lorg/xml/sax/InputSource;Lorg/springframework/core/io/Resource;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 1 1 inputSource Lorg/xml/sax/InputSource;
0 1 2 resourceDescription Ljava/lang/String;
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
inputSource
resourceDescription
protected int doLoadBeanDefinitions(org.xml.sax.InputSource, org.springframework.core.io.Resource);
descriptor: (Lorg/xml/sax/InputSource;Lorg/springframework/core/io/Resource;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadDocument:(Lorg/xml/sax/InputSource;Lorg/springframework/core/io/Resource;)Lorg/w3c/dom/Document;
astore 3
start local 3 1: aload 0
aload 3
aload 2
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions:(Lorg/w3c/dom/Document;Lorg/springframework/core/io/Resource;)I
istore 4
start local 4 2: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 4
3: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Loaded "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bean definitions from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
4: StackMap locals: org.w3c.dom.Document int
StackMap stack:
iload 4
5: ireturn
end local 4 end local 3 6: StackMap locals: org.springframework.beans.factory.xml.XmlBeanDefinitionReader org.xml.sax.InputSource org.springframework.core.io.Resource
StackMap stack: org.springframework.beans.factory.BeanDefinitionStoreException
astore 3
start local 3 7: aload 3
athrow
end local 3 8: StackMap locals:
StackMap stack: org.xml.sax.SAXParseException
astore 3
start local 3 9: new org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
dup
aload 2
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
10: new java.lang.StringBuilder
dup
ldc "Line "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.xml.sax.SAXParseException.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " in XML document from "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is invalid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
11: invokespecial org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/SAXException;)V
athrow
end local 3 12: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 3
start local 3 13: new org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
dup
aload 2
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
14: new java.lang.StringBuilder
dup
ldc "XML document from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " is invalid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
15: invokespecial org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/SAXException;)V
athrow
end local 3 16: StackMap locals:
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 3
start local 3 17: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
aload 2
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
18: new java.lang.StringBuilder
dup
ldc "Parser configuration exception parsing XML from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
19: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 20: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 21: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
aload 2
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
22: new java.lang.StringBuilder
dup
ldc "IOException parsing XML document from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
23: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 24: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 25: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
aload 2
invokeinterface org.springframework.core.io.Resource.getDescription:()Ljava/lang/String;
26: new java.lang.StringBuilder
dup
ldc "Unexpected exception parsing XML document from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
27: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;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 28 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 28 1 inputSource Lorg/xml/sax/InputSource;
0 28 2 resource Lorg/springframework/core/io/Resource;
1 6 3 doc Lorg/w3c/dom/Document;
2 6 4 count I
7 8 3 ex Lorg/springframework/beans/factory/BeanDefinitionStoreException;
9 12 3 ex Lorg/xml/sax/SAXParseException;
13 16 3 ex Lorg/xml/sax/SAXException;
17 20 3 ex Ljavax/xml/parsers/ParserConfigurationException;
21 24 3 ex Ljava/io/IOException;
25 28 3 ex Ljava/lang/Throwable;
Exception table:
from to target type
0 5 6 Class org.springframework.beans.factory.BeanDefinitionStoreException
0 5 8 Class org.xml.sax.SAXParseException
0 5 12 Class org.xml.sax.SAXException
0 5 16 Class javax.xml.parsers.ParserConfigurationException
0 5 20 Class java.io.IOException
0 5 24 Class java.lang.Throwable
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
inputSource
resource
protected org.w3c.dom.Document doLoadDocument(org.xml.sax.InputSource, org.springframework.core.io.Resource);
descriptor: (Lorg/xml/sax/InputSource;Lorg/springframework/core/io/Resource;)Lorg/w3c/dom/Document;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.documentLoader:Lorg/springframework/beans/factory/xml/DocumentLoader;
aload 1
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getEntityResolver:()Lorg/xml/sax/EntityResolver;
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.errorHandler:Lorg/xml/sax/ErrorHandler;
1: aload 0
aload 2
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getValidationModeForResource:(Lorg/springframework/core/io/Resource;)I
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.isNamespaceAware:()Z
2: invokeinterface org.springframework.beans.factory.xml.DocumentLoader.loadDocument:(Lorg/xml/sax/InputSource;Lorg/xml/sax/EntityResolver;Lorg/xml/sax/ErrorHandler;IZ)Lorg/w3c/dom/Document;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 3 1 inputSource Lorg/xml/sax/InputSource;
0 3 2 resource Lorg/springframework/core/io/Resource;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
inputSource
resource
protected int getValidationModeForResource(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getValidationMode:()I
istore 2
start local 2 1: iload 2
iconst_1
if_icmpeq 3
2: iload 2
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.detectValidationMode:(Lorg/springframework/core/io/Resource;)I
istore 3
start local 3 4: iload 3
iconst_1
if_icmpeq 6
5: iload 3
ireturn
6: StackMap locals: int
StackMap stack:
iconst_3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 7 1 resource Lorg/springframework/core/io/Resource;
1 7 2 validationModeToUse I
4 7 3 detectedMode I
MethodParameters:
Name Flags
resource
protected int detectValidationMode(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.springframework.core.io.Resource.isOpen:()Z
ifeq 8
1: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
2: new java.lang.StringBuilder
dup
ldc "Passed-in Resource ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "] contains an open stream: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "cannot determine validation mode automatically. Either pass in a Resource "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "that is able to create fresh streams, or explicitly specify the validationMode "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "on your XmlBeanDefinitionReader instance."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.springframework.core.io.Resource.getInputStream:()Ljava/io/InputStream;
astore 2
start local 2 9: goto 18
end local 2 10: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 11: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
12: new java.lang.StringBuilder
dup
ldc "Unable to determine validation mode for ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]: cannot open InputStream. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc "Did you attempt to load directly from a SAX InputSource without specifying the "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: ldc "validationMode on your XmlBeanDefinitionReader instance?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: aload 3
17: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 18: StackMap locals: java.io.InputStream
StackMap stack:
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.validationModeDetector:Lorg/springframework/util/xml/XmlValidationModeDetector;
aload 2
invokevirtual org.springframework.util.xml.XmlValidationModeDetector.detectValidationMode:(Ljava/io/InputStream;)I
19: ireturn
20: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 21: new org.springframework.beans.factory.BeanDefinitionStoreException
dup
new java.lang.StringBuilder
dup
ldc "Unable to determine validation mode for ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]: an error occurred whilst reading from the InputStream."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
23: invokespecial org.springframework.beans.factory.BeanDefinitionStoreException.<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 24 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 24 1 resource Lorg/springframework/core/io/Resource;
9 10 2 inputStream Ljava/io/InputStream;
18 24 2 inputStream Ljava/io/InputStream;
11 18 3 ex Ljava/io/IOException;
21 24 3 ex Ljava/io/IOException;
Exception table:
from to target type
8 9 10 Class java.io.IOException
18 19 20 Class java.io.IOException
MethodParameters:
Name Flags
resource
public int registerBeanDefinitions(org.w3c.dom.Document, org.springframework.core.io.Resource);
descriptor: (Lorg/w3c/dom/Document;Lorg/springframework/core/io/Resource;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createBeanDefinitionDocumentReader:()Lorg/springframework/beans/factory/xml/BeanDefinitionDocumentReader;
astore 3
start local 3 1: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinitionCount:()I
istore 4
start local 4 2: aload 3
aload 1
aload 0
aload 2
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext:(Lorg/springframework/core/io/Resource;)Lorg/springframework/beans/factory/xml/XmlReaderContext;
invokeinterface org.springframework.beans.factory.xml.BeanDefinitionDocumentReader.registerBeanDefinitions:(Lorg/w3c/dom/Document;Lorg/springframework/beans/factory/xml/XmlReaderContext;)V
3: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getRegistry:()Lorg/springframework/beans/factory/support/BeanDefinitionRegistry;
invokeinterface org.springframework.beans.factory.support.BeanDefinitionRegistry.getBeanDefinitionCount:()I
iload 4
isub
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 4 1 doc Lorg/w3c/dom/Document;
0 4 2 resource Lorg/springframework/core/io/Resource;
1 4 3 documentReader Lorg/springframework/beans/factory/xml/BeanDefinitionDocumentReader;
2 4 4 countBefore I
Exceptions:
throws org.springframework.beans.factory.BeanDefinitionStoreException
MethodParameters:
Name Flags
doc
resource
protected org.springframework.beans.factory.xml.BeanDefinitionDocumentReader createBeanDefinitionDocumentReader();
descriptor: ()Lorg/springframework/beans/factory/xml/BeanDefinitionDocumentReader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.documentReaderClass:Ljava/lang/Class;
invokestatic org.springframework.beans.BeanUtils.instantiateClass:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast org.springframework.beans.factory.xml.BeanDefinitionDocumentReader
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
public org.springframework.beans.factory.xml.XmlReaderContext createReaderContext(org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;)Lorg/springframework/beans/factory/xml/XmlReaderContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new org.springframework.beans.factory.xml.XmlReaderContext
dup
aload 1
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.problemReporter:Lorg/springframework/beans/factory/parsing/ProblemReporter;
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.eventListener:Lorg/springframework/beans/factory/parsing/ReaderEventListener;
1: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.sourceExtractor:Lorg/springframework/beans/factory/parsing/SourceExtractor;
aload 0
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getNamespaceHandlerResolver:()Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
2: invokespecial org.springframework.beans.factory.xml.XmlReaderContext.<init>:(Lorg/springframework/core/io/Resource;Lorg/springframework/beans/factory/parsing/ProblemReporter;Lorg/springframework/beans/factory/parsing/ReaderEventListener;Lorg/springframework/beans/factory/parsing/SourceExtractor;Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
0 3 1 resource Lorg/springframework/core/io/Resource;
MethodParameters:
Name Flags
resource
public org.springframework.beans.factory.xml.NamespaceHandlerResolver getNamespaceHandlerResolver();
descriptor: ()Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceHandlerResolver:Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver:()Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
putfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceHandlerResolver:Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.factory.xml.XmlBeanDefinitionReader.namespaceHandlerResolver:Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
protected org.springframework.beans.factory.xml.NamespaceHandlerResolver createDefaultNamespaceHandlerResolver();
descriptor: ()Lorg/springframework/beans/factory/xml/NamespaceHandlerResolver;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getResourceLoader:()Lorg/springframework/core/io/ResourceLoader;
ifnull 1
aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getResourceLoader:()Lorg/springframework/core/io/ResourceLoader;
invokeinterface org.springframework.core.io.ResourceLoader.getClassLoader:()Ljava/lang/ClassLoader;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getBeanClassLoader:()Ljava/lang/ClassLoader;
StackMap locals:
StackMap stack: java.lang.ClassLoader
2: astore 1
start local 1 3: new org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver
dup
aload 1
invokespecial org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>:(Ljava/lang/ClassLoader;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/factory/xml/XmlBeanDefinitionReader;
3 4 1 cl Ljava/lang/ClassLoader;
}
SourceFile: "XmlBeanDefinitionReader.java"
NestMembers:
org.springframework.beans.factory.xml.XmlBeanDefinitionReader$1
InnerClasses:
org.springframework.beans.factory.xml.XmlBeanDefinitionReader$1