|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Module | |
---|---|
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 |
com.google.inject.util | Helper methods for working with Guice. |
Uses of Module in com.google.inject |
---|
Classes in com.google.inject that implement Module | |
---|---|
class |
AbstractModule
A support class for Module s which reduces repetition and results in
a more readable configuration. |
class |
PrivateModule
A module whose configuration information is hidden from its environment by default. |
Methods in com.google.inject with parameters of type Module | |
---|---|
Injector |
Injector.createChildInjector(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. |
protected void |
PrivateModule.install(Module module)
|
void |
Binder.install(Module module)
Uses the given module to configure more bindings. |
protected void |
AbstractModule.install(Module module)
|
Method parameters in com.google.inject with type arguments of type Module | |
---|---|
Injector |
Injector.createChildInjector(Iterable<? extends 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(Stage stage,
Iterable<? extends Module> modules)
Creates an injector for the given set of modules, in a given development stage. |
Uses of Module in com.google.inject.internal |
---|
Classes in com.google.inject.internal that implement Module | |
---|---|
class |
ProviderMethodsModule
Creates bindings to methods annotated with @ Provides . |
Methods in com.google.inject.internal that return Module | |
---|---|
static Module |
ProviderMethodsModule.forModule(Module module)
Returns a module which creates bindings for provider methods from the given module. |
static Module |
ProviderMethodsModule.forObject(Object object)
Returns a module which creates bindings for provider methods from the given object. |
Methods in com.google.inject.internal with parameters of type Module | |
---|---|
static Module |
ProviderMethodsModule.forModule(Module module)
Returns a module which creates bindings for provider methods from the given module. |
Method parameters in com.google.inject.internal with type arguments of type Module | |
---|---|
InternalInjectorCreator |
InternalInjectorCreator.addModules(Iterable<? extends Module> modules)
|
Uses of Module in com.google.inject.spi |
---|
Methods in com.google.inject.spi that return Module | |
---|---|
static Module |
Elements.getModule(Iterable<? extends Element> elements)
Returns the module composed of elements . |
Methods in com.google.inject.spi with parameters of type Module | |
---|---|
static List<Element> |
Elements.getElements(Module... modules)
Records the elements executed by modules . |
static List<Element> |
Elements.getElements(Stage stage,
Module... modules)
Records the elements executed by modules . |
Method parameters in com.google.inject.spi with type arguments of type Module | |
---|---|
static List<Element> |
Elements.getElements(Iterable<? extends Module> modules)
Records the elements executed by modules . |
static List<Element> |
Elements.getElements(Stage stage,
Iterable<? extends Module> modules)
Records the elements executed by modules . |
Uses of Module in com.google.inject.util |
---|
Fields in com.google.inject.util declared as Module | |
---|---|
static Module |
Modules.EMPTY_MODULE
|
Methods in com.google.inject.util that return Module | |
---|---|
static Module |
Modules.combine(Iterable<? extends Module> modules)
Returns a new module that installs all of modules . |
static Module |
Modules.combine(Module... modules)
Returns a new module that installs all of modules . |
Module |
Modules.OverriddenModuleBuilder.with(Iterable<? extends Module> overrides)
See the EDSL example at override() . |
Module |
Modules.OverriddenModuleBuilder.with(Module... overrides)
See the EDSL example at override() . |
Methods in com.google.inject.util with parameters of type Module | |
---|---|
static Module |
Modules.combine(Module... modules)
Returns a new module that installs all of modules . |
static Modules.OverriddenModuleBuilder |
Modules.override(Module... modules)
Returns a builder that creates a module that overlays override modules over the given modules. |
Module |
Modules.OverriddenModuleBuilder.with(Module... overrides)
See the EDSL example at override() . |
Method parameters in com.google.inject.util with type arguments of type Module | |
---|---|
static Module |
Modules.combine(Iterable<? extends Module> modules)
Returns a new module that installs all of modules . |
static Modules.OverriddenModuleBuilder |
Modules.override(Iterable<? extends Module> modules)
Returns a builder that creates a module that overlays override modules over the given modules. |
Module |
Modules.OverriddenModuleBuilder.with(Iterable<? extends Module> overrides)
See the EDSL example at override() . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |