spring-framework / org.springframework.beans.factory.parsing

Package org.springframework.beans.factory.parsing

Types

AliasDefinition

open class AliasDefinition : BeanMetadataElement

Representation of an alias that has been registered during the parsing process.

BeanComponentDefinition

open class BeanComponentDefinition : BeanDefinitionHolder, ComponentDefinition

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

open class BeanEntry : Entry

ParseState entry representing a bean definition.

ConstructorArgumentEntry

open class ConstructorArgumentEntry : Entry

ParseState entry representing a (possibly indexed) constructor argument.

EmptyReaderEventListener

open class EmptyReaderEventListener : ReaderEventListener

Empty implementation of the ReaderEventListener interface, providing no-op implementations of all callback methods.

FailFastProblemReporter

open class FailFastProblemReporter : ProblemReporter

Simple ProblemReporter implementation that exhibits fail-fast behavior when errors are encountered.

The first error encountered results in a BeanDefinitionParsingException being thrown.

Warnings are written to the log for this class.

ImportDefinition

open class ImportDefinition : BeanMetadataElement

Representation of an import that has been processed during the parsing process.

Location

open class Location

Class that models an arbitrary location in a Resource.

Typically used to track the location of problematic or erroneous metadata in XML configuration files. For example, a source location might be 'The bean defined on line 76 of beans.properties has an invalid Class'; another source might be the actual DOM Element from a parsed XML org.w3c.dom.Document; or the source object might simply be null.

NullSourceExtractor

open class NullSourceExtractor : SourceExtractor

Simple implementation of SourceExtractor that returns null as the source metadata.

This is the default implementation and prevents too much metadata from being held in memory during normal (non-tooled) runtime usage.

PassThroughSourceExtractor

open class PassThroughSourceExtractor : SourceExtractor

Simple SourceExtractor implementation that just passes the candidate source metadata object through for attachment.

Using this implementation means that tools will get raw access to the underlying configuration source metadata provided by the tool.

This implementation should not be used in a production application since it is likely to keep too much metadata in memory (unnecessarily).

PropertyEntry

open class PropertyEntry : Entry

ParseState entry representing a JavaBean property.

QualifierEntry

open class QualifierEntry : Entry

ParseState entry representing an autowire candidate qualifier.

ReaderContext

open class ReaderContext

Context that gets passed along a bean definition reading process, encapsulating all relevant configuration as well as state.

Exceptions

BeanDefinitionParsingException

open class BeanDefinitionParsingException : BeanDefinitionStoreException

Exception thrown when a bean definition reader encounters an error during the parsing process.