Interface InjectionListener<I>


public interface InjectionListener<I>
Listens for injections into instances of type I. Useful for performing further injections, post-injection initialization, and more.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterInjection(I injectee)
    Invoked by Guice after it injects the fields and methods of instance.
  • Method Details

    • 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