Java Code Examples for org.springframework.beans.factory.xml.XmlReaderContext#getRegistry()
The following examples show how to use
org.springframework.beans.factory.xml.XmlReaderContext#getRegistry() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ComponentScanBeanDefinitionParser.java From spring-analysis-note with MIT License | 4 votes |
protected ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext, boolean useDefaultFilters) { return new ClassPathBeanDefinitionScanner(readerContext.getRegistry(), useDefaultFilters, readerContext.getEnvironment(), readerContext.getResourceLoader()); }
Example 2
Source File: ComponentScanBeanDefinitionParser.java From java-technology-stack with MIT License | 4 votes |
protected ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext, boolean useDefaultFilters) { return new ClassPathBeanDefinitionScanner(readerContext.getRegistry(), useDefaultFilters, readerContext.getEnvironment(), readerContext.getResourceLoader()); }
Example 3
Source File: ConfigurationScanBeanDefinitionParser.java From conf4j with MIT License | 4 votes |
@Override protected ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext, boolean useDefaultFilters) { // default filters are removed, to avoid necessity of using @Component and related meta-annotations return new ConfigurationClassPathBeanDefinitionScanner(readerContext.getRegistry()); }
Example 4
Source File: ComponentScanBeanDefinitionParser.java From lams with GNU General Public License v2.0 | 4 votes |
protected ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext, boolean useDefaultFilters) { return new ClassPathBeanDefinitionScanner(readerContext.getRegistry(), useDefaultFilters, readerContext.getEnvironment(), readerContext.getResourceLoader()); }
Example 5
Source File: ComponentScanBeanDefinitionParser.java From spring4-understanding with Apache License 2.0 | 4 votes |
protected ClassPathBeanDefinitionScanner createScanner(XmlReaderContext readerContext, boolean useDefaultFilters) { return new ClassPathBeanDefinitionScanner(readerContext.getRegistry(), useDefaultFilters); }