Package | Description |
---|---|
com.google.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar . |
com.google.inject.grapher | |
com.google.inject.internal |
Guice (sounds like 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
|
com.google.inject.throwingproviders |
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar . |
com.google.inject.util |
Helper methods for working with Guice.
|
Modifier and Type | Class and Description |
---|---|
class |
FactoryProvider<F>
Deprecated.
use
FactoryModuleBuilder instead. |
(package private) class |
FactoryProvider2<F>
The newer implementation of factory provider.
|
Modifier and Type | Method and Description |
---|---|
private <T extends Binding<?> & HasDependencies> |
DefaultEdgeCreator.EdgeVisitor.newDependencyEdges(NodeId nodeId,
T binding)
Returns a dependency edge for each
Dependency in the binding. |
private <T extends Binding<?> & HasDependencies> |
DefaultNodeCreator.NodeVisitor.newInstanceNode(T binding,
java.lang.Object instance)
Returns a new instance node for the given
Binding . |
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<Key<?>> |
TransitiveDependencyVisitor.visitHasDependencies(HasDependencies hasDependencies) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ConstructorBindingImpl<T> |
class |
ExposedBindingImpl<T> |
private static class |
InjectorImpl.ConvertedConstantBindingImpl<T> |
private static class |
InjectorImpl.ProviderBindingImpl<T> |
(package private) class |
InstanceBindingImpl<T> |
class |
LinkedBindingImpl<T> |
(package private) class |
LinkedProviderBindingImpl<T> |
(package private) class |
ProviderInstanceBindingImpl<T> |
class |
ProviderMethod<T>
A provider that invokes a method and returns its result.
|
private static class |
ProviderMethod.FastClassProviderMethod<T>
A
ProviderMethod implementation that uses FastClass.invoke(java.lang.String, java.lang.Class[], java.lang.Object, java.lang.Object[])
to invoke the provider method. |
private static class |
ProviderMethod.ProviderMethodProviderInstanceBindingImpl<T> |
private static class |
ProviderMethod.ReflectionProviderMethod<T>
A
ProviderMethod implementation that invokes the method using normal java reflection. |
Modifier and Type | Interface and Description |
---|---|
interface |
ConstructorBinding<T>
A binding to the constructor of a concrete clss.
|
interface |
ConvertedConstantBinding<T>
A binding created from converting a bound instance to a new type.
|
interface |
ExposedBinding<T>
A binding to a key exposed from an enclosed private environment.
|
interface |
InstanceBinding<T>
A binding to a single instance.
|
interface |
ProviderInstanceBinding<T>
A binding to a provider instance.
|
interface |
ProviderWithDependencies<T>
A provider with dependencies on other injected types.
|
interface |
ProvidesMethodBinding<T>
An @
Provides binding or binding produced by a
ModuleAnnotatedMethodScanner . |
Modifier and Type | Interface and Description |
---|---|
(package private) interface |
CheckedProviderWithDependencies<T>
A checked provider with dependencies, so
HasDependencies can be implemented
when using the SecondaryBinder#using methods. |
Modifier and Type | Class and Description |
---|---|
(package private) class |
CheckedProviderMethod<T>
A provider that invokes a method and returns its result.
|
Modifier and Type | Class and Description |
---|---|
private static class |
Providers.GuicifiedProviderWithDependencies<T> |