|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanDefinitionDocumentReader
SPI for parsing an XML document that contains Spring bean definitions. Used by XmlBeanDefinitionReader for actually parsing a DOM document.
Instantiated per document to parse: Implementations can hold
state in instance variables during the execution of the
registerBeanDefinitions
method, for example global
settings that are defined for all bean definitions in the document.
XmlBeanDefinitionReader.setDocumentReaderClass(java.lang.Class)
Method Summary | |
---|---|
void |
registerBeanDefinitions(Document doc,
XmlReaderContext readerContext)
Read bean definitions from the given DOM document, and register them with the given bean factory. |
Method Detail |
---|
void registerBeanDefinitions(Document doc, XmlReaderContext readerContext) throws BeanDefinitionStoreException
doc
- the DOM documentreaderContext
- the current context of the reader. Includes the resource being parsed
BeanDefinitionStoreException
- in case of parsing errors
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |