Home
last modified time | relevance | path

Searched refs:getInjector (Results 1 – 21 of 21) sorted by relevance

/external/guice/core/src/com/google/inject/
DScopes.java102 Injector injector = linkedBinding.getInjector(); in isSingleton()
109 Injector injector = exposedBinding.getPrivateElements().getInjector(); in isSingleton()
164 Injector injector = linkedBinding.getInjector(); in isScoped()
171 Injector injector = exposedBinding.getPrivateElements().getInjector(); in isScoped()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceServletContextListener.java45 Injector injector = getInjector(); in contextInitialized()
59 protected abstract Injector getInjector(); in getInjector() method in GuiceServletContextListener
/external/testng/src/main/java/org/testng/
DITestContext.java123 public Injector getInjector(List<Module> moduleInstances); in getInjector() method
124 Injector getInjector(IClass iClass); in getInjector() method
DTestRunner.java1611 public Injector getInjector(List<Module> moduleInstances) { in getInjector() method in TestRunner
1616 public Injector getInjector(IClass iClass) { in getInjector() method in TestRunner
1629 Injector injector = getInjector(moduleInstances); in getInjector()
/external/guice/extensions/struts2/test/com/google/inject/struts2/
DStruts2FactoryTest.java48 protected Injector getInjector() { in getInjector() method in Struts2FactoryTest.TestListener
76 assertEquals(TODAY, testListener.getInjector().getInstance(Date.class));
/external/guice/core/src/com/google/inject/internal/
DAbstractBindingProcessor.java114 InjectorImpl exposedFrom = (InjectorImpl) exposed.getPrivateElements().getInjector(); in isOkayDuplicate()
115 return (exposedFrom == binding.getInjector()); in isOkayDuplicate()
176 binding.getInjector().initializeBinding(binding, errors.withSource(source)); in asRunnable()
DInternalInjectorCreator.java126 shell.getInjector().index(); in initializeStatically()
144 ((DeferredLookups) shell.getInjector().lookups).initialize(errors); in initializeStatically()
164 return shells.get(0).getInjector(); in primaryInjector()
182 loadEagerSingletons(shell.getInjector(), shellBuilder.getStage(), errors); in injectDynamically()
DProviderToInternalFactoryAdapter.java50 InjectorImpl getInjector() { in getInjector() method in ProviderToInternalFactoryAdapter
DExposedKeyFactory.java39 InjectorImpl privateInjector = (InjectorImpl) privateElements.getInjector(); in notify()
DAbstractProcessor.java43 process(injectorShell.getInjector(), injectorShell.getElements()); in process()
DBindingImpl.java124 public InjectorImpl getInjector() { in getInjector() method in BindingImpl
DPrivateElementsImpl.java81 public Injector getInjector() { in getInjector() method in PrivateElementsImpl
DSingletonScope.java118 injector = ((ProviderToInternalFactoryAdapter) creator).getInjector(); in scope()
DInjectorShell.java61 InjectorImpl getInjector() { in getInjector() method in InjectorShell
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DMultipleServletInjectorsTest.java59 protected Injector getInjector() { in testTwoInjectors() method
82 protected Injector getInjector() { in testTwoInjectors() method
/external/guice/core/src/com/google/inject/spi/
DPrivateElements.java40 Injector getInjector(); in getInjector() method
/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
DExampleListener.java34 public Injector getInjector() { in getInjector() method in ExampleListener
/external/dagger2/java/dagger/hilt/processor/internal/root/
DTestComponentDataGenerator.java205 .addStatement("$L.injectTest(testInstance)", getInjector(testElement)) in getTestInjectInternalMethod()
209 private static CodeBlock getInjector(TypeElement testElement) { in getInjector() method in TestComponentDataGenerator
/external/testng/src/main/java/org/testng/internal/
DClassImpl.java139 Injector injector = m_testContext.getInjector(this); in getInstanceFromGuice()
DParameters.java327 Injector injector = context.getInjector(clazz); in findDataProvider()
/external/guice/core/test/com/google/inject/
DPrivateModuleTest.java587 Injector privateInjector = privateElements.getInjector(); in testSpiAccess()