moved registration to OsgiFactoryLocator