|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type to inject members ofpublic interface MembersInjector<T>
Injects dependencies into the fields and methods on instances of type T
. Ignores the
presence or absence of an injectable constructor.
Method Summary | |
---|---|
void |
injectMembers(T instance)
Injects dependencies into the fields and methods of instance . |
Method Detail |
---|
void injectMembers(T instance)
instance
. Ignores the presence or
absence of an injectable constructor.
Whenever Guice creates an instance, it performs this injection automatically (after first performing constructor injection), so if you're able to let Guice create all your objects for you, you'll never need to use this method.
instance
- to inject members on. May be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |