Interface FactoryProvider


  • public interface FactoryProvider
    • Method Detail

      • provide

        <T> T provide​(Class<T> clazz)
               throws TypeNotFoundException
        Provides a factory used to create instances of the specified type
        Type Parameters:
        T - The type of factory
        Parameters:
        clazz - The factory class
        Returns:
        The factory
        Throws:
        TypeNotFoundException - If the type provided has not been registered