Class InternalFactory.Instance<T>

  • All Implemented Interfaces:
    InternalFactory<T>
    Enclosing interface:
    InternalFactory<T>

    public static class InternalFactory.Instance<T>
    extends java.lang.Object
    implements InternalFactory<T>
    ES: An factory that returns a pre created instance.
    • Constructor Summary

      Constructors 
      Constructor Description
      Instance​(T object)  
    • Method Summary

      Modifier and Type Method Description
      T get​(Errors errors, InternalContext context, Dependency<?> dependency)
      Creates an object to be injected.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Instance

        public Instance​(T object)