code: public static <T> void register(final Class<T> service) {
          for (T each : ServiceLoader.load(service)) {
              registerServiceClass(service, each);
          }
      }
docs: Register SPI service into map for new instance.
  
  @param service service type
  @param <T> type of service