@Test public void testCombinedContext() throws Exception { logger.info("testCombinedContext()"); SpringContext ctx1 = new SpringContext(null, "classpath:contexts/combined1.xml,classpath:contexts/combined2.xml"); assertEquals("processed all files when separated by comma", 4, ctx1.getBeans().size()); SpringContext ctx3 = new SpringContext(null, "classpath:contexts/combined1.xml \t\n classpath:contexts/combined2.xml"); assertEquals("processed all files when separated by comma", 4, ctx3.getBeans().size()); }
public Map<String,BeanDefinition> getBeans() { return Collections.unmodifiableMap(beanDefinitions); }
SpringContext { public Map<String,BeanDefinition> getBeans() { return Collections.unmodifiableMap(beanDefinitions); } }
SpringContext { public Map<String,BeanDefinition> getBeans() { return Collections.unmodifiableMap(beanDefinitions); } SpringContext(WarMachine war, String contextLocation);  SpringContext(SpringContext parent, WarMachine war, String contextLocation); }
SpringContext { public Map<String,BeanDefinition> getBeans() { return Collections.unmodifiableMap(beanDefinitions); } SpringContext(WarMachine war, String contextLocation);  SpringContext(SpringContext parent, WarMachine war, String contextLocation); Map<String,BeanDefinition> getBeans(); BeanDefinition getBean(String name); List<BeanDefinition> getBeansByClass(String className); }
SpringContext { public Map<String,BeanDefinition> getBeans() { return Collections.unmodifiableMap(beanDefinitions); } SpringContext(WarMachine war, String contextLocation);  SpringContext(SpringContext parent, WarMachine war, String contextLocation); Map<String,BeanDefinition> getBeans(); BeanDefinition getBean(String name); List<BeanDefinition> getBeansByClass(String className);  }