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.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar . |
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
void |
Binder.scanModulesForAnnotatedMethods(ModuleAnnotatedMethodScanner scanner)
Adds a scanner that will look in all installed modules for annotations the scanner can parse,
and binds them like @Provides methods.
|
Modifier and Type | Method and Description |
---|---|
static Module |
ProviderMethodsModule.forModule(Object module,
ModuleAnnotatedMethodScanner scanner)
Returns a module which creates bindings methods in the module that match the scanner.
|
Modifier and Type | Method and Description |
---|---|
static ModuleAnnotatedMethodScanner |
MultibindingsScanner.scanner()
Deprecated.
This method returns an empty scanner since the preexisting functionality is
installed by default.
|
Modifier and Type | Method and Description |
---|---|
ModuleAnnotatedMethodScanner |
ModuleAnnotatedMethodScannerBinding.getScanner() |
Constructor and Description |
---|
ModuleAnnotatedMethodScannerBinding(Object source,
ModuleAnnotatedMethodScanner scanner) |
Copyright © 2006–2018 Google, Inc.. All rights reserved.