| Package | Description |
|---|---|
| com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
|
| com.google.inject.internal |
Guice (sounds like like "juice")
|
| com.google.inject.spi |
Guice service provider interface
|
| Modifier and Type | Method and Description |
|---|---|
Injector |
Injector.createChildInjector(Iterable
Returns a new injector that inherits all state from this injector.
|
Injector |
Injector.createChildInjector(Module
Returns a new injector that inherits all state from this injector.
|
static Injector |
Guice.createInjector(Iterable
Creates an injector for the given set of modules.
|
static Injector |
Guice.createInjector(Module
Creates an injector for the given set of modules.
|
static Injector |
Guice.createInjector(Stage
Creates an injector for the given set of modules, in a given development stage.
|
static Injector |
Guice.createInjector(Stage
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
|
| 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.
|