protected void configure()

in src/main/java/com/googlesource/gerrit/plugins/its/phabricator/PhabricatorModule.java [51:61]


  protected void configure() {
    if (gerritConfig.getString(pluginName, null, "url") != null) {
      logger.atInfo().log("Phabricator is configured as ITS");
      factory(ConduitConnection.Factory.class);
      factory(Conduit.Factory.class);
      bind(ItsFacade.class).to(PhabricatorItsFacade.class).in(Scopes.SINGLETON);
      bind(ItsFacadeFactory.class).to(SingleItsServer.class);

      install(new ItsHookModule(pluginName, pluginCfgFactory));
    }
  }