List of usage examples for org.springframework.boot BeanDefinitionLoader BeanDefinitionLoader
BeanDefinitionLoader(BeanDefinitionRegistry registry, Object... sources)
From source file:org.springframework.boot.SpringApplication.java
/** * Factory method used to create the {@link BeanDefinitionLoader}. * @param registry the bean definition registry * @param sources the sources to load//from w ww. j a v a2 s. c o m * @return the {@link BeanDefinitionLoader} that will be used to load beans */ protected BeanDefinitionLoader createBeanDefinitionLoader(BeanDefinitionRegistry registry, Object[] sources) { return new BeanDefinitionLoader(registry, sources); }