code: def handle_ipopo_event(self, event):
          # type: (IPopoEvent) -> None
          
          kind = event.get_kind()
          if kind == IPopoEvent.REGISTERED:
              # A factory has been registered
              try:
                  with use_ipopo(self.__context) as ipopo:
                      factory = event.get_factory_name()
  
                      with self.__lock:
                          # Copy the list of components names for this factory
                          components = self.__queue[factory].copy()
  
                      for component in components:
                          self._try_instantiate(ipopo, factory, component)
              except BundleException:
                  # iPOPO not yet started
                  pass
              except KeyError:
                  # No components for this new factory
                  pass
docs: Handles an iPOPO event
  
          :param event: iPOPO event bean