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> MembersInjector<T> |
Injector.getMembersInjector(Class<T> type)
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
T . |
protected <T> MembersInjector<T> |
AbstractModule.getMembersInjector(Class<T> type) |
protected <T> MembersInjector<T> |
PrivateModule.getMembersInjector(Class<T> type) |
<T> MembersInjector<T> |
Binder.getMembersInjector(Class<T> type)
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
T . |
<T> MembersInjector<T> |
Injector.getMembersInjector(TypeLiteral<T> typeLiteral)
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
T . |
protected <T> MembersInjector<T> |
AbstractModule.getMembersInjector(TypeLiteral<T> type) |
protected <T> MembersInjector<T> |
PrivateModule.getMembersInjector(TypeLiteral<T> type) |
<T> MembersInjector<T> |
Binder.getMembersInjector(TypeLiteral<T> typeLiteral)
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
T . |
Modifier and Type | Method and Description |
---|---|
static InternalProvisionException |
InternalProvisionException.errorInUserInjector(MembersInjector<?> listener,
TypeLiteral<?> type,
RuntimeException cause) |
Modifier and Type | Method and Description |
---|---|
MembersInjector<T> |
MembersInjectorLookup.getDelegate()
Returns the delegate members injector, or
null if it has not yet been initialized. |
MembersInjector<T> |
MembersInjectorLookup.getMembersInjector()
Returns the looked up members injector.
|
<T> MembersInjector<T> |
TypeEncounter.getMembersInjector(Class<T> type)
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
T . |
<T> MembersInjector<T> |
TypeEncounter.getMembersInjector(TypeLiteral<T> typeLiteral)
Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
T . |
Modifier and Type | Method and Description |
---|---|
void |
MembersInjectorLookup.initializeDelegate(MembersInjector<T> delegate)
Sets the actual members injector.
|
void |
TypeEncounter.register(MembersInjector<? super I> membersInjector)
Registers a members injector for type
I . |
Copyright © 2006–2018 Google, Inc.. All rights reserved.