docs: private void registerWanPublisherMBeans(WanReplicationService wanReplicationService) {
          final Map<String, LocalWanStats> wanStats = wanReplicationService.getStats();
          if (wanStats == null) {
              return;
          }
  
          for (Entry<String, LocalWanStats> replicationStatsEntry : wanStats.entrySet()) {
              final String wanReplicationName = replicationStatsEntry.getKey();
              final LocalWanStats localWanStats = replicationStatsEntry.getValue();
              final Map<String, LocalWanPublisherStats> publisherStats = localWanStats.getLocalWanPublisherStats();
  
              for (String targetGroupName : publisherStats.keySet()) {
                  register(new WanPublisherMBean(wanReplicationService, wanReplicationName, targetGroupName, service));
              }
          }
      }