@Override
    protected void configure() {
      bindFactory(supplier).to(HMaster.class).in(Singleton.class);
      bindFactory(supplier).to(MasterServices.class).in(Singleton.class);
    }
Register this feature's provided functionality and defines their lifetime scopes.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/jersey/MasterFeature.java