private <T> ServiceBindingBuilder<T> bindFactory(Supplier<T> supplier) {
      return bindFactory(new SupplierFactoryAdapter<>(supplier));
    }
Helper method for smoothing over use of {@link SupplierFactoryAdapter}. Inspired by internal
implementation details of jersey itself.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/jersey/MasterFeature.java