code: def get_service(self, factory, svc_registration):
          # type: (Any, ServiceRegistration) -> Any
          
          svc_ref = svc_registration.get_reference()
          if svc_ref.is_prototype():
              return self._get_from_prototype(factory, svc_registration)
  
          return self._get_from_factory(factory, svc_registration)
docs: Returns the service required by the bundle. The Service Factory is
          called only when necessary while the Prototype Service Factory is
          called each time
  
          :param factory: The service factory
          :param svc_registration: The ServiceRegistration object
          :return: The requested service instance (created if necessary)