Class FactoryCreator<T>

  • Type Parameters:
    T - The thing this factory is producing
    All Implemented Interfaces:
    Creator<T>

    public class FactoryCreator<T>
    extends java.lang.Object
    implements Creator<T>
    • Method Detail

      • getInjectees

        public java.util.List<Injectee> getInjectees()
        Description copied from interface: Creator
        Returns all the injectees needed prior to creating this object
        Specified by:
        getInjectees in interface Creator<T>
        Returns:
        a List of all the injectees
      • dispose

        public void dispose​(T instance)
        Description copied from interface: Creator
        Disposes the given instance
        Specified by:
        dispose in interface Creator<T>
        Parameters:
        instance - removes the given instance
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object