Provides the factory with the given type type, or throws a TypeNotFoundException if there is no factory registered for the given type.
the factory
the factory type
the class of the type