Uses of Interface
com.google.inject.Injector
Packages that use Injector
Package
Description
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
Guice (sounds like "juice")
Guice service provider interface
-
Uses of Injector in com.google.inject
Methods in com.google.inject that return InjectorModifier and TypeMethodDescriptionInjector.createChildInjector
(Module... modules) Returns a new injector that inherits all state from this injector.Injector.createChildInjector
(Iterable<? extends Module> modules) Returns a new injector that inherits all state from this injector.static Injector
Guice.createInjector
(Module... modules) Creates an injector for the given set of modules.static Injector
Guice.createInjector
(Stage stage, Module... modules) Creates an injector for the given set of modules, in a given development stage.static Injector
Guice.createInjector
(Stage stage, Iterable<? extends Module> modules) Creates an injector for the given set of modules, in a given development stage.static Injector
Guice.createInjector
(Iterable<? extends Module> modules) Creates an injector for the given set of modules.Injector.getParent()
Returns this injector's parent, ornull
if this is a top-level injector. -
Uses of Injector in com.google.inject.internal
Methods in com.google.inject.internal that return InjectorModifier and TypeMethodDescriptionInternalInjectorCreator.build()
PrivateElementsImpl.getInjector()
Methods in com.google.inject.internal with parameters of type Injector -
Uses of Injector in com.google.inject.spi
Methods in com.google.inject.spi that return InjectorModifier and TypeMethodDescriptionPrivateElements.getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector.