Interface InstanceInjector<T>

All Known Implementing Classes:
Preprocessor.InstanceInjectorImpl

public interface InstanceInjector<T>
This is a function which can inject instances into Inject fields and methods of some already existing object. This is so-called 'post-injections' since such injections are not part of object creation.

It can only be obtained by depending on it and then requesting it from the injector.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    injectInto(T existingInstance)
     
    key()
     
  • Method Details

    • key

      Key<T> key()
    • injectInto

      void injectInto(T existingInstance)