| 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 |
|---|---|
protected Stage |
AbstractModule.currentStage() |
protected Stage |
PrivateModule.currentStage() |
Stage |
Binder.currentStage()
Gets the current stage.
|
static Stage |
Stage.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stage[] |
Stage.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Scoping.isEagerSingleton(Stage stage)
Returns true if this scope is a singleton that should be loaded eagerly in
stage. |
InternalInjectorCreator |
InternalInjectorCreator.stage(Stage stage) |
| Modifier and Type | Method and Description |
|---|---|
static List<Element> |
Elements.getElements(Stage stage,
Iterable<? extends Module> modules)
Records the elements executed by
modules. |
static List<Element> |
Elements.getElements(Stage stage,
Module... modules)
Records the elements executed by
modules. |
Copyright © 2006–2018 Google, Inc.. All rights reserved.