def register_class_factory(factory):
    with _factory_lock:
        if factory not in _factories:
            logger.info("adding new factory: %s" % factory)
            _factories.append(factory)
Add a Factory to the factory list.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/factorymanager.py/register_class_factory