private void setServerCache(GemFireCacheImpl cache) {
    Set<InternalDistributedMember> locatorsWithClusterConfig =
        cache.getDistributionManager().getAllHostedLocatorsWithSharedConfiguration()
            .keySet();

    ClusterManagementServiceInfo cmsInfo =
        getClusterManagementServiceInfo(locatorsWithClusterConfig);

    configureBuilder(cache.getSystem().getConfig(), cmsInfo);
  }
Concrete implementation of {@link ConnectionConfig} which can be used to derive most (if not all)
of the connection properties from an existing {@link Cache} or {@link ClientCache}.

@see ClusterManagementServiceBuilder
geode-core/src/main/java/org/apache/geode/management/internal/api/GeodeConnectionConfig.java