code: public static <T> ServiceController<T> findService(ServiceRegistry registry, ServiceName name) {
          return (ServiceController<T>) registry.getService(name);
      }
docs: Generics friendly version of {@link ServiceRegistry#getService(ServiceName)}
  @param registry service registry
  @param name service name
  @return the service controller with the specified name, or null if the service does not exist