Interface Injector


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

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