[b] check for factory in service definition