org.springframework.beans.factory.xml

Interface BeanDefinitionDocumentReader

    • Method Detail

      • registerBeanDefinitions

        void registerBeanDefinitions(org.w3c.dom.Document doc,
                                     XmlReaderContext readerContext)
                              throws BeanDefinitionStoreException
        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)
        Throws:
        BeanDefinitionStoreException - in case of parsing errors