code: def bind(self, dependency, svc, svc_ref):
          # type: (Any, Any, ServiceReference) -> None
          
          with self._lock:
              self.__set_binding(dependency, svc, svc_ref)
              self.check_lifecycle()
docs: Called by a dependency manager to inject a new service and update the
          component life cycle.