Interface UseCaseInstantiator

    • Method Detail

      • instantiate

        <T> T instantiate​(Class<T> type)
        This method is called, whenever a use case is to be invoked. It takes the use case's class and returns an instance of the use case.
        Type Parameters:
        T - the type of the use case
        Parameters:
        type - the class of the use case
        Returns:
        the instance of the use case