docs: public static <T> T findValue(ServiceRegistry registry, ServiceName name) {
          ServiceController<T> service = findService(registry, name);
          return ((service != null) && (service.getState() == State.UP)) ? service.getValue() : null;
      }