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 |
---|---|
<T> Provider<T> |
Binder.getProvider(Dependency<T> dependency)
Returns the provider used to obtain instances for the given injection key.
|
Modifier and Type | Method and Description |
---|---|
Set<Dependency<?>> |
ExposedBindingImpl.getDependencies() |
Set<Dependency<?>> |
LinkedBindingImpl.getDependencies() |
Set<Dependency<?>> |
ProviderMethod.getDependencies() |
Modifier and Type | Method and Description |
---|---|
protected T |
ProviderMethod.doProvision(com.google.inject.internal.InternalContext context,
Dependency<?> dependency) |
Modifier and Type | Method and Description |
---|---|
static <T> Dependency<T> |
Dependency.get(Key<T> key)
Returns a new dependency that is not attached to an injection point.
|
Dependency<T> |
ProviderLookup.getDependency() |
Dependency<?> |
DependencyAndSource.getDependency()
Deprecated.
Returns the Dependency, if one exists.
|
Modifier and Type | Method and Description |
---|---|
static Set<Dependency<?>> |
Dependency.forInjectionPoints(Set<InjectionPoint> injectionPoints)
Returns the dependencies from the given injection points.
|
Set<Dependency<?>> |
HasDependencies.getDependencies()
Returns the known dependencies for this type.
|
List<Dependency<?>> |
InjectionPoint.getDependencies()
Returns the dependencies for this injection point.
|
Set<Dependency<?>> |
ConvertedConstantBinding.getDependencies()
Returns a singleton set containing only the converted key.
|
Constructor and Description |
---|
DependencyAndSource(Dependency<?> dependency,
Object source)
Deprecated.
|
ProviderLookup(Object source,
Dependency<T> dependency) |
Copyright © 2006–2018 Google, Inc.. All rights reserved.