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 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