XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(context);
xmlReader.loadBeanDefinitions(new ClassPathResource("expandable/core-context.xml"));
context.refresh();
RootModuleContextMonitor monitor = new RootModuleContextMonitor(xmlReader, new ClassPathResource(
"expandable/spring-locations.txt"), new ScheduledThreadPoolExecutor(1));
monitor.setupMonitor();
context.getBean("coreBean");
while (true) {
try {