spring-framework / org.springframework.beans.factory.xml / BeanDefinitionDocumentReader / registerBeanDefinitions

registerBeanDefinitions

abstract fun registerBeanDefinitions(doc: Document, readerContext: XmlReaderContext): Unit

Read bean definitions from the given DOM document and register them with the registry in the given reader context.

Parameters

doc - the DOM document

readerContext - the current context of the reader (includes the target registry and the resource being parsed)

Exceptions

BeanDefinitionStoreException - in case of parsing errors