程序包 org.springframework.beans.factory.parsing
Support infrastructure for bean definition parsing.
接口概要 接口 说明 ComponentDefinition Interface that describes the logical view of a set ofBeanDefinitions
andBeanReferences
as presented in some configuration context.DefaultsDefinition Marker interface for a defaults definition, extending BeanMetadataElement to inherit source exposure.ParseState.Entry Marker interface for entries into theParseState
.ProblemReporter SPI interface allowing tools and other external processes to handle errors and warnings reported during bean definition parsing.ReaderEventListener Interface that receives callbacks for component, alias and import registrations during a bean definition reading process.SourceExtractor Simple strategy allowing tools to control how source metadata is attached to the bean definition metadata.类概要 类 说明 AbstractComponentDefinition Base implementation ofComponentDefinition
that provides a basic implementation ofAbstractComponentDefinition.getDescription()
which delegates toComponentDefinition.getName()
.AliasDefinition Representation of an alias that has been registered during the parsing process.BeanComponentDefinition ComponentDefinition based on a standard BeanDefinition, exposing the given bean definition as well as inner bean definitions and bean references for the given bean.BeanEntry ParseState
entry representing a bean definition.CompositeComponentDefinition ComponentDefinition
implementation that holds one or more nestedComponentDefinition
instances, aggregating them into a named group of components.ConstructorArgumentEntry ParseState
entry representing a (possibly indexed) constructor argument.EmptyReaderEventListener Empty implementation of theReaderEventListener
interface, providing no-op implementations of all callback methods.FailFastProblemReporter SimpleProblemReporter
implementation that exhibits fail-fast behavior when errors are encountered.ImportDefinition Representation of an import that has been processed during the parsing process.Location Class that models an arbitrary location in aresource
.NullSourceExtractor Simple implementation ofSourceExtractor
that returnsnull
as the source metadata.ParseState SimpleArrayDeque
-based structure for tracking the logical position during a parsing process.PassThroughSourceExtractor SimpleSourceExtractor
implementation that just passes the candidate source metadata object through for attachment.Problem Represents a problem with a bean definition configuration.PropertyEntry ParseState
entry representing a JavaBean property.QualifierEntry ParseState
entry representing an autowire candidate qualifier.ReaderContext Context that gets passed along a bean definition reading process, encapsulating all relevant configuration as well as state.异常错误概要 异常错误 说明 BeanDefinitionParsingException Exception thrown when a bean definition reader encounters an error during the parsing process.