static BaseManagementService newSystemManagementService(
      InternalCacheForClientAccess cache) {
    return newSystemManagementService(
        cache,
        NotificationHub::new,
        SystemManagementService::createLocalManager,
        createFederatingManagerFactory(),
        ManagementAgent::new);
  }
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