接口的使用
org.springframework.beans.factory.parsing.ProblemReporter
使用ProblemReporter的程序包 程序包 说明 org.springframework.beans.factory.parsing Support infrastructure for bean definition parsing.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.beans.factory.parsing中ProblemReporter的使用
实现ProblemReporter的org.springframework.beans.factory.parsing中的类 修饰符和类型 类 说明 class
FailFastProblemReporter
SimpleProblemReporter
implementation that exhibits fail-fast behavior when errors are encountered.参数类型为ProblemReporter的org.springframework.beans.factory.parsing中的构造器 构造器 说明 ReaderContext(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor)
Construct a newReaderContext
.org.springframework.beans.factory.xml中ProblemReporter的使用
参数类型为ProblemReporter的org.springframework.beans.factory.xml中的方法 修饰符和类型 方法 说明 void
XmlBeanDefinitionReader. setProblemReporter(ProblemReporter problemReporter)
Specify whichProblemReporter
to use.参数类型为ProblemReporter的org.springframework.beans.factory.xml中的构造器 构造器 说明 XmlReaderContext(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor, XmlBeanDefinitionReader reader, NamespaceHandlerResolver namespaceHandlerResolver)
Construct a newXmlReaderContext
.org.springframework.context.annotation中ProblemReporter的使用
参数类型为ProblemReporter的org.springframework.context.annotation中的方法 修饰符和类型 方法 说明 void
ConfigurationClassPostProcessor. setProblemReporter(ProblemReporter problemReporter)
Set theProblemReporter
to use.