DEV Community

Query Filter
Query Filter

Posted on

docker136

try {
    this.beanFactory = new DefaultListableBeanFactory();
    XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader((DefaultListableBeanFactory) this.beanFactory);
    reader.loadBeanDefinitions(new FileSystemResource(this.ddsConfigFile));

    this.makeBeanFactoryNotSingleton();
} catch (Exception e1) {
    e1.printStackTrace();
    this.logger.error("Error while reading the DDS Configuration from file which is a backup");
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)