Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
|
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
Injector |
Injector.createChildInjector(Iterable<? extends Module> modules)
Returns a new injector that inherits all state from this injector.
|
Injector |
Injector.createChildInjector(Module... modules)
Returns a new injector that inherits all state from this injector.
|
static Injector |
Guice.createInjector(Iterable<? extends Module> modules)
Creates an injector for the given set of modules.
|
static Injector |
Guice.createInjector(Module... modules)
Creates an injector for the given set of modules.
|
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(Stage stage,
Module... modules)
Creates an injector for the given set of modules, in a given development stage.
|
Injector |
Injector.getParent()
Returns this injector's parent, or
null if this is a top-level injector. |
Modifier and Type | Method and Description |
---|---|
Injector |
InternalInjectorCreator.build() |
Injector |
PrivateElementsImpl.getInjector() |
Modifier and Type | Method and Description |
---|---|
void |
PrivateElementsImpl.initInjector(Injector injector) |
Modifier and Type | Method and Description |
---|---|
Injector |
PrivateElements.getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't
been used to create an injector.
|
Copyright © 2006–2018 Google, Inc.. All rights reserved.