Package com.google.inject.spi
Interface InjectionListener<I>
-
public interface InjectionListener<I>
Listens for injections into instances of typeI
. Useful for performing further injections, post-injection initialization, and more.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterInjection(I injectee)
Invoked by Guice after it injects the fields and methods of instance.
-
-
-
Method Detail
-
afterInjection
void afterInjection(I injectee)
Invoked by Guice after it injects the fields and methods of instance.- Parameters:
injectee
- instance that Guice injected dependencies into
-
-