e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 10 of 16 (0.0020 seconds)
Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

227 assertEquals(2, beans.size()); 228 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 229 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 230 } 231

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

226 beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, FactoryBean.class, true, true); 227 assertEquals(2, beans.size()); 228 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 229 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 230 }

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

223 assertEquals(2, beans.size()); 224 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 225 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 226 beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, FactoryBean.class, true, true); 227 assertEquals(2, beans.size());

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

222 beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, DummyFactory.class, true, true); 223 assertEquals(2, beans.size()); 224 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 225 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 226 beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, FactoryBean.class, true, true);

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

201 Object test3 = this.listableBeanFactory.getBean("test3"); 202 Object test = this.listableBeanFactory.getBean("test"); 203 Object testFactory1 = this.listableBeanFactory.getBean("testFactory1"); 204 205 Map beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, ITestBean.class, true, false);

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

200 public void testHierarchicalResolutionWithOverride() throws Exception { 201 Object test3 = this.listableBeanFactory.getBean("test3"); 202 Object test = this.listableBeanFactory.getBean("test"); 203 Object testFactory1 = this.listableBeanFactory.getBean("testFactory1"); 204

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

199 200 public void testHierarchicalResolutionWithOverride() throws Exception { 201 Object test3 = this.listableBeanFactory.getBean("test3"); 202 Object test = this.listableBeanFactory.getBean("test"); 203 Object testFactory1 = this.listableBeanFactory.getBean("testFactory1");

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

193 assertEquals(4, beans.size()); 194 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 195 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 196 assertEquals(t3, beans.get("&t3")); 197 assertEquals(t4, beans.get("&t4"));

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

192 beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, FactoryBean.class, true, true); 193 assertEquals(4, beans.size()); 194 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 195 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 196 assertEquals(t3, beans.get("&t3"));

Class: org.springframework.beans.factory.BeanFactoryUtilsTests  ©, Rating: 0% of 0, C2

187 assertEquals(4, beans.size()); 188 assertEquals(this.listableBeanFactory.getBean("&testFactory1"), beans.get("&testFactory1")); 189 assertEquals(this.listableBeanFactory.getBean("&testFactory2"), beans.get("&testFactory2")); 190 assertEquals(t3, beans.get("&t3")); 191 assertEquals(t4, beans.get("&t4"));

Result Page:  1.0  |  2.0   Next