Home
last modified time | relevance | path

Searched refs:createChildInjector (Results 1 – 17 of 17) sorted by relevance

/external/guice/core/test/com/google/inject/
DParentInjectorTest.java44 parent.createChildInjector(bindsA); in testParentAndChildCannotShareExplicitBindings()
55 parent.createChildInjector(bindsA); in testParentJitBindingWontClobberChildBinding()
73 parent.createChildInjector(bindsA); in testChildCannotBindToAParentJitBinding()
83 Injector child = parent.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
86 Injector anotherChild = parent.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
89 Injector grandchild = child.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
95 Injector child = parent.createChildInjector(); in testBindingsInherited()
101 Injector middle = top.createChildInjector(bindsB); in testGetParent()
102 Injector bottom = middle.createChildInjector(); in testGetParent()
110 parent.createChildInjector(bindsB); in testChildBindingsNotVisibleToParent()
[all …]
DJitBindingsTest.java313 parent.createChildInjector(new AbstractModule() { in testChildInjectorInheritsOption()
325 Injector child = parent.createChildInjector(new AbstractModule() { in testChildInjectorInheritsOption()
340 Injector grandchild = child.createChildInjector(new AbstractModule() { in testChildInjectorInheritsOption()
362 parent.createChildInjector(new AbstractModule() { in testChildInjectorAddsOption()
376 Injector child = parent.createChildInjector(new AbstractModule() { in testChildInjectorAddsOption()
387 Injector grandchild = child.createChildInjector(new AbstractModule() { in testChildInjectorAddsOption()
398 child = parent.createChildInjector(); in testChildInjectorAddsOption()
DEagerSingletonTest.java61 parent.createChildInjector(new AbstractModule() { in testChildEagerSingletons()
DImplicitBindingTest.java247 Injector parentSetupChildInjector = parentSetupRootInjector.createChildInjector(); in testInstancesRequestingProvidersForThemselvesWithChildInjectors()
255 Injector childSetupChildInjector = childSetupRootInjector.createChildInjector(testModule); in testInstancesRequestingProvidersForThemselvesWithChildInjectors()
DMethodInterceptionTest.java75 Injector childOne = injector.createChildInjector(new AbstractModule() { in testSharedProxyClasses()
85 Injector childTwo = injector.createChildInjector(new AbstractModule() { in testSharedProxyClasses()
DDuplicateBindingsTest.java195 injector.createChildInjector( in testChildInjectorDuplicateParentFail()
219 injector.createChildInjector( in testDuplicatesSolelyInChildIgnored()
DScopesTest.java945 return injector.createChildInjector().getInstance(G.class);
951 return injector.createChildInjector().getInstance(H.class);
/external/guice/core/src/com/google/inject/internal/
DInternalInjectorCreator.java270 public Injector createChildInjector(Iterable<? extends Module> modules) { in createChildInjector() method in InternalInjectorCreator.ToolStageInjector
271 return delegateInjector.createChildInjector(modules); in createChildInjector()
273 public Injector createChildInjector(Module... modules) { in createChildInjector() method in InternalInjectorCreator.ToolStageInjector
274 return delegateInjector.createChildInjector(modules); in createChildInjector()
DInjectorImpl.java225 public Injector createChildInjector(Iterable<? extends Module> modules) { in createChildInjector() method in InjectorImpl
232 public Injector createChildInjector(Module... modules) { in createChildInjector() method in InjectorImpl
233 return createChildInjector(ImmutableList.copyOf(modules)); in createChildInjector()
/external/guice/core/src/com/google/inject/
DInjector.java226 Injector createChildInjector(Iterable<? extends Module> modules); in createChildInjector() method
243 Injector createChildInjector(Module... modules); in createChildInjector() method
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java344 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration()
367 Injector childInjector1 = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_multipleChildren()
376 Injector childInjector2 = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_multipleChildren()
406 Injector childInjector1 = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_multipleChildren_overlappingKeys()
414 Injector childInjector2 = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_multipleChildren_overlappingKeys()
/external/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java219 Injector child = parent.createChildInjector(new AbstractModule() {
239 Injector child = parent.createChildInjector(NamedMunger.module(), module);
243 Injector sibling = parent.createChildInjector(module);
/external/guice/extensions/struts2/src/com/google/inject/struts2/
DStruts2Factory.java122 this.strutsInjector = injector.createChildInjector(new AbstractModule() { in createInjector()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java726 Injector forCreate = injector.createChildInjector(assistedModule); in getBindingFromNewInjector()
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMapBinderTest.java1016 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration_mapbinder()
DOptionalBinderTest.java1196 Injector childInjector = parentInjector.createChildInjector(new AbstractModule() { in testWeakKeySet_integration()
/external/testng/src/main/java/org/testng/
DTestRunner.java1631 injector = parentInjector.createChildInjector(moduleInstances); in getInjector()