程序包 org.springframework.beans.factory.parsing
Support infrastructure for bean definition parsing.
接口概要 接口 说明 ComponentDefinition Interface that describes the logical view of a set ofBeanDefinitionsandBeanReferencesas 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 ofComponentDefinitionthat 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 ParseStateentry representing a bean definition.CompositeComponentDefinition ComponentDefinitionimplementation that holds one or more nestedComponentDefinitioninstances, aggregating them into a named group of components.ConstructorArgumentEntry ParseStateentry representing a (possibly indexed) constructor argument.EmptyReaderEventListener Empty implementation of theReaderEventListenerinterface, providing no-op implementations of all callback methods.FailFastProblemReporter SimpleProblemReporterimplementation 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 ofSourceExtractorthat returnsnullas the source metadata.ParseState SimpleArrayDeque-based structure for tracking the logical position during a parsing process.PassThroughSourceExtractor SimpleSourceExtractorimplementation that just passes the candidate source metadata object through for attachment.Problem Represents a problem with a bean definition configuration.PropertyEntry ParseStateentry representing a JavaBean property.QualifierEntry ParseStateentry 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.