e.g. Calendar Search Help
You must enter a value before pressing Search
Search Results OK to copy? Examples 1 through 8 of 8 (0.0040 seconds)
Class: org.springframework.context.support.StaticApplicationContext  ©, Rating: 0% of 0, C1

062 // initialize and register StaticMessageSource 063 this.messageSource = new StaticMessageSource(); 064 getBeanFactory().registerSingleton(MESSAGE_SOURCE_BEAN_NAME, this.messageSource); 065 } 066

Class: org.springframework.web.servlet.handler.metadata.AbstractPathMapHandlerMapping  ©, Rating: 0% of 0, C2

132 // This isn't necessary for the handler to work, but is useful if we want 133 // to enumerate controllers in the factory etc. 134 beanFactory.registerSingleton(handlerClass.getName(), handler); 135 136 // There may be multiple paths mapped to this handler,

Class: org.springframework.context.support.ClassPathXmlApplicationContextTests  ©, Rating: 0% of 0, C1

066 ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext( 067 "/org/springframework/context/support/context*.xml"); 068 ctx.getBeanFactory().registerSingleton("manualFBAAL", new FactoryBeanAndApplicationListener()); 069 assertEquals(0, ctx.getBeansOfType(ApplicationListener.class).size()); 070 }

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

159 this.listableBeanFactory.registerSingleton("t2", t2); 160 this.listableBeanFactory.registerSingleton("t3", t3); 161 this.listableBeanFactory.registerSingleton("t4", t4); 162 163 Map beans = BeanFactoryUtils.beansOfTypeIncludingAncestors(this.listableBeanFactory, ITestBean.class, true, false);

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

158 this.listableBeanFactory.registerSingleton("t1", t1); 159 this.listableBeanFactory.registerSingleton("t2", t2); 160 this.listableBeanFactory.registerSingleton("t3", t3); 161 this.listableBeanFactory.registerSingleton("t4", t4); 162

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

157 t4.setSingleton(false); 158 this.listableBeanFactory.registerSingleton("t1", t1); 159 this.listableBeanFactory.registerSingleton("t2", t2); 160 this.listableBeanFactory.registerSingleton("t3", t3); 161 this.listableBeanFactory.registerSingleton("t4", t4);

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

156 DummyFactory t4 = new DummyFactory(); 157 t4.setSingleton(false); 158 this.listableBeanFactory.registerSingleton("t1", t1); 159 this.listableBeanFactory.registerSingleton("t2", t2); 160 this.listableBeanFactory.registerSingleton("t3", t3);

Class: org.springframework.web.servlet.view.velocity.VelocityViewTests  ©, Rating: 0% of 0, C2

354 355 StaticWebApplicationContext wac = new StaticWebApplicationContext(); 356 wac.getBeanFactory().registerSingleton("configurer",vc); 357 358 VelocityViewResolver vr = new VelocityViewResolver();

Result Page:  1.0