Home
last modified time | relevance | path

Searched refs:beanFactory (Results 1 – 3 of 3) sorted by relevance

/external/guice/extensions/spring/src/com/google/inject/spring/
DSpringIntegration.java59 public static void bindAll(Binder binder, ListableBeanFactory beanFactory) { in bindAll() argument
62 for (String name : beanFactory.getBeanDefinitionNames()) { in bindAll()
63 Class<?> type = beanFactory.getType(name); in bindAll()
64 bindBean(binder, beanFactory, name, type); in bindAll()
68 static <T> void bindBean(Binder binder, ListableBeanFactory beanFactory, in bindBean() argument
73 provider.initialize(beanFactory); in bindBean()
87 BeanFactory beanFactory; field in SpringIntegration.SpringProvider
101 void initialize(BeanFactory beanFactory) { in initialize() argument
102 this.beanFactory = beanFactory; in initialize()
103 if (!beanFactory.isTypeMatch(name, type)) { in initialize()
[all …]
/external/guice/extensions/spring/test/com/google/inject/spring/
DSpringIntegrationTest.java40 final DefaultListableBeanFactory beanFactory in testBindFromSpring() local
45 beanFactory.registerBeanDefinition("singleton", singleton); in testBindFromSpring()
49 beanFactory.registerBeanDefinition("prototype", prototype); in testBindFromSpring()
53 bind(BeanFactory.class).toInstance(beanFactory); in testBindFromSpring()
71 final DefaultListableBeanFactory beanFactory in testBindAll() local
76 beanFactory.registerBeanDefinition("singleton", singleton); in testBindAll()
80 beanFactory.registerBeanDefinition("prototype", prototype); in testBindAll()
84 SpringIntegration.bindAll(binder(), beanFactory); in testBindAll()
/external/guice/core/test/com/google/inject/
DPerformanceComparison.java71 final DefaultListableBeanFactory beanFactory;
74 beanFactory = new DefaultListableBeanFactory();
96 beanFactory.registerBeanDefinition("foo", foo);
97 beanFactory.registerBeanDefinition("bar", bar);
98 beanFactory.registerBeanDefinition("tee", tee);
102 return (Foo) beanFactory.getBean("foo");