Package | Description |
---|---|
org.springframework.beans.factory.parsing |
Support infrastructure for bean definition parsing.
|
org.springframework.beans.factory.xml |
Contains an abstract XML-based
BeanFactory 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.
|
Modifier and Type | Class and Description |
---|---|
class |
NullSourceExtractor
Simple implementation of
SourceExtractor that returns null
as the source metadata. |
class |
PassThroughSourceExtractor
Simple
SourceExtractor implementation that just passes
the candidate source metadata object through for attachment. |
Modifier and Type | Method and Description |
---|---|
SourceExtractor |
ReaderContext.getSourceExtractor()
Return the source extractor in use.
|
Constructor and Description |
---|
ReaderContext(Resource resource,
ProblemReporter problemReporter,
ReaderEventListener eventListener,
SourceExtractor sourceExtractor)
Construct a new
ReaderContext . |
Modifier and Type | Method and Description |
---|---|
void |
XmlBeanDefinitionReader.setSourceExtractor(SourceExtractor sourceExtractor)
Specify the
SourceExtractor to use. |
Constructor and Description |
---|
XmlReaderContext(Resource resource,
ProblemReporter problemReporter,
ReaderEventListener eventListener,
SourceExtractor sourceExtractor,
XmlBeanDefinitionReader reader,
NamespaceHandlerResolver namespaceHandlerResolver)
Construct a new
XmlReaderContext . |
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationClassPostProcessor.setSourceExtractor(SourceExtractor sourceExtractor)
Set the
SourceExtractor to use for generated bean definitions
that correspond to Bean factory methods. |