private synchronized MemberMXBean getManagingMemberMXBean() {
    if (managingMemberMXBeanProxy == null) {
      MBeanServer mbs = getMBeanServer();
      DistributedSystemMXBean distributedSystemMXBean = JMX.newMXBeanProxy(mbs,
          MBeanJMXAdapter.getDistributedSystemName(), DistributedSystemMXBean.class);
      managingMemberMXBeanProxy = createMemberMXBeanForManagerUsingProxy(mbs,
          distributedSystemMXBean.getMemberObjectName());
    }

    return managingMemberMXBeanProxy;
  }
Lookup operation for the MemberMXBean representing the Manager in the GemFire cluster. This
method gets an instance of the Platform MBeanServer for this JVM process and uses it to lookup
the MemberMXBean for the GemFire Manager based on the ObjectName declared in the
DistributedSystemMXBean.getManagerObjectName() operation.

@return a proxy instance to the MemberMXBean of the GemFire Manager.
@see #getMBeanServer()
@see #createMemberMXBeanForManagerUsingProxy(javax.management.MBeanServer,
     javax.management.ObjectName)
geode-web/src/main/java/org/apache/geode/management/internal/web/controllers/AbstractCommandsController.java