|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Injector | |
---|---|
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 |
Uses of Injector in com.google.inject |
---|
Methods in com.google.inject that return Injector | |
---|---|
Injector |
Injector.createChildInjector(java.lang.Iterable<? extends Module> modules)
Returns a new injector that inherits all state from this injector. |
Injector |
Injector.createChildInjector(Module... modules)
Returns a new injector that inherits all state from this injector. |
static Injector |
Guice.createInjector(java.lang.Iterable<? extends Module> modules)
Creates an injector for the given set of modules. |
static Injector |
Guice.createInjector(Module... modules)
Creates an injector for the given set of modules. |
static Injector |
Guice.createInjector(Stage stage,
java.lang.Iterable<? extends Module> modules)
Creates an injector for the given set of modules, in a given development stage. |
static Injector |
Guice.createInjector(Stage stage,
Module... modules)
Creates an injector for the given set of modules, in a given development stage. |
Injector |
Injector.getParent()
Returns this injector's parent, or null if this is a top-level injector. |
Uses of Injector in com.google.inject.internal |
---|
Methods in com.google.inject.internal that return Injector | |
---|---|
Injector |
PrivateElementsImpl.getInjector()
|
Injector |
BindingImpl.getInjector()
|
Methods in com.google.inject.internal with parameters of type Injector | |
---|---|
void |
PrivateElementsImpl.initInjector(Injector injector)
|
Constructors in com.google.inject.internal with parameters of type Injector | |
---|---|
BindingImpl(Injector injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping)
|
|
ExposedBindingImpl(Injector injector,
java.lang.Object source,
Key<T> key,
InternalFactory<T> factory,
PrivateElements privateElements)
|
|
InstanceBindingImpl(Injector injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
java.util.Set<InjectionPoint> injectionPoints,
T instance)
|
|
LinkedBindingImpl(Injector injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends T> targetKey)
|
|
LinkedProviderBindingImpl(Injector injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Key<? extends Provider<? extends T>> providerKey)
|
|
ProviderInstanceBindingImpl(Injector injector,
Key<T> key,
java.lang.Object source,
InternalFactory<? extends T> internalFactory,
Scoping scoping,
Provider<? extends T> providerInstance,
java.util.Set<InjectionPoint> injectionPoints)
|
|
UntargettedBindingImpl(Injector injector,
Key<T> key,
java.lang.Object source)
|
Uses of Injector in com.google.inject.spi |
---|
Methods in com.google.inject.spi that return Injector | |
---|---|
Injector |
PrivateElements.getInjector()
Returns the child injector that hosts these private elements, or null if the elements haven't been used to create an injector. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |