Interface Injector


public interface Injector
Allows to inject in an unmanaged instance services.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    inject(T instance)
    Injects services in fields marked with @Service.
  • Method Details

    • inject

      <T> T inject(T instance)
      Injects services in fields marked with @Service.
      Type Parameters:
      T - the type of the instance to inject services into.
      Parameters:
      instance - the instance to inject services into.
      Returns:
      the instance once injected.