ported FactoryLocatorImpl