public void addGatewaySenderToSystem(ObjectName objectName, GatewaySenderMXBean proxy,
      FederationComponent newState) {
    if (mapOfGatewaySenders != null) {
      mapOfGatewaySenders.put(objectName, proxy);
      gatewaySenderSetSize = mapOfGatewaySenders.values().size();
    }
    updateGatewaySender(objectName, newState, null);
  }
Add a proxy to the map to be used by bridge.

@param objectName object name of the proxy
@param proxy actual proxy instance
geode-core/src/main/java/org/apache/geode/management/internal/beans/DistributedSystemBridge.java