Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DParentInjectorTest.java40 parent.createChildInjector(bindsA); in testParentAndChildCannotShareExplicitBindings()
59 parent.createChildInjector(bindsA); in testParentJitBindingWontClobberChildBinding()
78 parent.createChildInjector(bindsA); in testChildCannotBindToAParentJitBinding()
91 Injector child = parent.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
94 Injector anotherChild = parent.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
97 Injector grandchild = child.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
103 Injector child = parent.createChildInjector(); in testBindingsInherited()
109 Injector middle = top.createChildInjector(bindsB); in testGetParent()
110 Injector bottom = middle.createChildInjector(); in testGetParent()
118 parent.createChildInjector(bindsB); in testChildBindingsNotVisibleToParent()
[all …]
DJitBindingsTest.java349 parent.createChildInjector( in testChildInjectorInheritsOption()
363 parent.createChildInjector( in testChildInjectorInheritsOption()
380 child.createChildInjector( in testChildInjectorInheritsOption()
405 parent.createChildInjector( in testChildInjectorAddsOption()
421 parent.createChildInjector( in testChildInjectorAddsOption()
434 child.createChildInjector( in testChildInjectorAddsOption()
446 child = parent.createChildInjector(); in testChildInjectorAddsOption()
DImplicitBindingTest.java281 Injector parentSetupChildInjector = parentSetupRootInjector.createChildInjector(); in testInstancesRequestingProvidersForThemselvesWithChildInjectors()
291 Injector childSetupChildInjector = childSetupRootInjector.createChildInjector(testModule); in testInstancesRequestingProvidersForThemselvesWithChildInjectors()
DEagerSingletonTest.java73 parent.createChildInjector( in testChildEagerSingletons()
DMethodInterceptionTest.java77 injector.createChildInjector( in testSharedProxyClasses()
90 injector.createChildInjector( in testSharedProxyClasses()
DDuplicateBindingsTest.java250 injector.createChildInjector(new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo)); in testChildInjectorDuplicateParentFail()
295 injector.createChildInjector( in testDuplicatesSolelyInChildIgnored()
DScopesTest.java1052 return injector.createChildInjector().getInstance(G.class);
1062 return injector.createChildInjector().getInstance(H.class);
/external/guice/core/src/com/google/inject/internal/
DInternalInjectorCreator.java290 public Injector createChildInjector(Iterable<? extends Module> modules) { in createChildInjector() method in InternalInjectorCreator.ToolStageInjector
291 return delegateInjector.createChildInjector(modules); in createChildInjector()
295 public Injector createChildInjector(Module... modules) { in createChildInjector() method in InternalInjectorCreator.ToolStageInjector
296 return delegateInjector.createChildInjector(modules); in createChildInjector()
DInjectorImpl.java236 public Injector createChildInjector(Iterable<? extends Module> modules) { in createChildInjector() method in InjectorImpl
241 public Injector createChildInjector(Module... modules) { in createChildInjector() method in InjectorImpl
242 return createChildInjector(ImmutableList.copyOf(modules)); in createChildInjector()
/external/guice/core/src/com/google/inject/
DInjector.java224 Injector createChildInjector(Iterable<? extends Module> modules); in createChildInjector() method
241 Injector createChildInjector(Module... modules); in createChildInjector() method
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java346 parentInjector.createChildInjector( in testWeakKeySet_integration()
375 parentInjector.createChildInjector( in testWeakKeySet_integration_multipleChildren()
387 parentInjector.createChildInjector( in testWeakKeySet_integration_multipleChildren()
423 parentInjector.createChildInjector( in testWeakKeySet_integration_multipleChildren_overlappingKeys()
434 parentInjector.createChildInjector( in testWeakKeySet_integration_multipleChildren_overlappingKeys()
DMapBinderTest.java1351 parentInjector.createChildInjector( in testWeakKeySet_integration_mapbinder()
DOptionalBinderTest.java1427 parentInjector.createChildInjector( in testWeakKeySet_integration()
/external/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java252 parent.createChildInjector(
275 Injector child = parent.createChildInjector(NamedMunger.module(), module);
279 Injector sibling = parent.createChildInjector(module);
/external/guice/extensions/struts2/src/com/google/inject/struts2/
DStruts2Factory.java124 injector.createChildInjector( in createInjector()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java791 Injector forCreate = injector.createChildInjector(assistedModule); in getBindingFromNewInjector()
/external/testng/src/main/java/org/testng/
DTestRunner.java1631 injector = parentInjector.createChildInjector(moduleInstances); in getInjector()
/external/testng/lib-supplied/
Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...