Interface Creator<T>

  • All Known Implementing Classes:
    ClazzCreator, FactoryCreator

    public interface Creator<T>
    An internal interface that allows us to have the factory and class implementations
    Author:
    jwells
    • Method Detail

      • getInjectees

        List<Injectee> getInjectees()
        Returns all the injectees needed prior to creating this object
        Returns:
        a List of all the injectees
      • dispose

        void dispose​(T instance)
              throws MultiException
        Disposes the given instance
        Parameters:
        instance - removes the given instance
        Throws:
        MultiException - if the underlying creator threw an exception during destruction