| 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.name |
Support for binding to string-based names.
|
| com.google.inject.spi |
Guice service provider interface
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PrivateBinder
Returns a binder whose configuration information is hidden from its environment by default.
|
| Modifier and Type | Method and Description |
|---|---|
protected Binder |
AbstractModule.binder()
Gets direct access to the underlying
Binder.
|
Binder |
Binder.skipSources(Class
Returns a binder that skips
classesToSkip when identify the calling code.
|
Binder |
Binder.withSource(Object
Returns a binder that uses
source as the reference location for configuration errors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractModule.configure(Binder
|
void |
Module.configure(Binder
Contributes bindings and other configurations for this module to
binder.
|
void |
PrivateModule.configure(Binder
|
| Modifier and Type | Field and Description |
|---|---|
protected Binder |
AbstractBindingBuilder.binder
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExposedBindingImpl.applyTo(Binder
|
void |
LinkedBindingImpl.applyTo(Binder
|
void |
PrivateElementsImpl.applyTo(Binder
|
void |
ProviderMethod.configure(Binder
|
void |
ProviderMethodsModule.configure(Binder
|
List |
ProviderMethodsModule.getProviderMethods(Binder
|
| Constructor and Description | |
|---|---|
AbstractBindingBuilder(Binder
|
|
BindingBuilder(Binder
|
|
ConstantBindingBuilderImpl(Binder
|
|
ExposureBuilder(Binder
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Names.bindProperties(Binder
Creates a constant binding to
@Named(key) for each entry in
properties.
|
static void |
Names.bindProperties(Binder
Creates a constant binding to
@Named(key) for each property.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequireExplicitBindingsOption.applyTo(Binder
|
void |
ExposedBinding.applyTo(Binder
Unsupported.
|
void |
ProvisionListenerBinding.applyTo(Binder
|
void |
Message.applyTo(Binder
|
void |
ProviderLookup.applyTo(Binder
|
void |
MembersInjectorLookup.applyTo(Binder
|
void |
Element.applyTo(Binder
Writes this module element to the given binder (optional operation).
|
void |
StaticInjectionRequest.applyTo(Binder
|
void |
RequireAtInjectOnConstructorsOption.applyTo(Binder
|
void |
DisableCircularProxiesOption.applyTo(Binder
|
void |
InjectionRequest.applyTo(Binder
|
void |
RequireExactBindingAnnotationsOption.applyTo(Binder
|
void |
ModuleAnnotatedMethodScannerBinding.applyTo(Binder
|
void |
ScopeBinding.applyTo(Binder
|
void |
TypeConverterBinding.applyTo(Binder
|
void |
TypeListenerBinding.applyTo(Binder
|
void |
InterceptorBinding.applyTo(Binder
|
abstract <T> Key |
ModuleAnnotatedMethodScanner.prepareMethod(Binder
Prepares a method for binding.
|