Package | Description |
---|---|
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 | Method and Description |
---|---|
XmlReaderContext |
XmlBeanDefinitionReader.createReaderContext(Resource resource)
Create the
XmlReaderContext to pass over to the document reader. |
XmlReaderContext |
ParserContext.getReaderContext() |
protected XmlReaderContext |
DefaultBeanDefinitionDocumentReader.getReaderContext()
Return the descriptor for the XML resource that this parser works on.
|
XmlReaderContext |
BeanDefinitionParserDelegate.getReaderContext()
Get the
XmlReaderContext associated with this helper instance. |
Modifier and Type | Method and Description |
---|---|
protected BeanDefinitionParserDelegate |
DefaultBeanDefinitionDocumentReader.createDelegate(XmlReaderContext readerContext,
Element root,
BeanDefinitionParserDelegate parentDelegate) |
void |
BeanDefinitionDocumentReader.registerBeanDefinitions(Document doc,
XmlReaderContext readerContext)
Read bean definitions from the given DOM document and
register them with the registry in the given reader context.
|
void |
DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(Document doc,
XmlReaderContext readerContext)
This implementation parses bean definitions according to the "spring-beans" XSD
(or DTD, historically).
|
Constructor and Description |
---|
BeanDefinitionParserDelegate(XmlReaderContext readerContext)
Create a new BeanDefinitionParserDelegate associated with the supplied
XmlReaderContext . |
ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate) |
ParserContext(XmlReaderContext readerContext,
BeanDefinitionParserDelegate delegate,
BeanDefinition containingBeanDefinition) |
Modifier and Type | Method and Description |
---|---|
protected ClassPathBeanDefinitionScanner |
ComponentScanBeanDefinitionParser.createScanner(XmlReaderContext readerContext,
boolean useDefaultFilters) |
protected void |
ComponentScanBeanDefinitionParser.registerComponents(XmlReaderContext readerContext,
Set<BeanDefinitionHolder> beanDefinitions,
Element element) |