Home
last modified time | relevance | path

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

/external/guice/extensions/spring/src/com/google/inject/spring/
DSpringIntegration.java56 public static void bindAll(Binder binder, ListableBeanFactory beanFactory) { in bindAll() argument
59 for (String name : beanFactory.getBeanDefinitionNames()) { in bindAll()
60 Class<?> type = beanFactory.getType(name); in bindAll()
61 bindBean(binder, beanFactory, name, type); in bindAll()
66 Binder binder, ListableBeanFactory beanFactory, String name, Class<T> type) { in bindBean() argument
69 provider.initialize(beanFactory); in bindBean()
80 BeanFactory beanFactory; field in SpringIntegration.SpringProvider
94 void initialize(BeanFactory beanFactory) { in initialize() argument
95 this.beanFactory = beanFactory; in initialize()
96 if (!beanFactory.isTypeMatch(name, type)) { in initialize()
[all …]
/external/guice/extensions/spring/test/com/google/inject/spring/
DSpringIntegrationTest.java36 final DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory(); in testBindFromSpring() local
39 beanFactory.registerBeanDefinition("singleton", singleton); in testBindFromSpring()
42 beanFactory.registerBeanDefinition("prototype", prototype); in testBindFromSpring()
49 bind(BeanFactory.class).toInstance(beanFactory); in testBindFromSpring()
63 final DefaultListableBeanFactory beanFactory = new DefaultListableBeanFactory(); in testBindAll() local
66 beanFactory.registerBeanDefinition("singleton", singleton); in testBindAll()
69 beanFactory.registerBeanDefinition("prototype", prototype); in testBindAll()
76 SpringIntegration.bindAll(binder(), beanFactory); in testBindAll()
/external/guice/core/test/com/google/inject/
DPerformanceComparison.java70 final DefaultListableBeanFactory beanFactory;
73 beanFactory = new DefaultListableBeanFactory();
95 beanFactory.registerBeanDefinition("foo", foo);
96 beanFactory.registerBeanDefinition("bar", bar);
97 beanFactory.registerBeanDefinition("tee", tee);
102 return (Foo) beanFactory.getBean("foo");
/external/guice/lib/build/
Dspring-beans.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/ ...