code: def _autorestart_store_components(self, bundle):
          # type: (Bundle) -> None
          
          with self.__instances_lock:
              # Prepare the list of components
              store = self.__auto_restart.setdefault(bundle, [])
              for stored_instance in self.__instances.values():
                  # Get the factory name
                  factory = stored_instance.factory_name
                  if self.get_factory_bundle(factory) is bundle:
                      # Factory from this bundle
                      # Test component properties
                      properties = stored_instance.context.properties
                      if properties.get(constants.IPOPO_AUTO_RESTART):
                          # Auto-restart property found
                          store.append(
                              (factory, stored_instance.name, properties)
                          )
docs: Stores the components of the given bundle with the auto-restart
          property
  
          :param bundle: A Bundle object