@VisibleForTesting
  static BaseManagementService newSystemManagementService(
      InternalCacheForClientAccess cache,
      Function<ManagementResourceRepo, NotificationHub> notificationHubFactory,
      Function<SystemManagementService, LocalManager> localManagerFactory,
      FederatingManagerFactory federatingManagerFactory,
      ManagementAgentFactory managementAgentFactory) {
    return new SystemManagementService(cache, notificationHubFactory, localManagerFactory,
        federatingManagerFactory, managementAgentFactory).init();
  }
This membership listener will listen on membership events after the node has transformed into a
Managing node.
geode-core/src/main/java/org/apache/geode/management/internal/SystemManagementService.java