public String getName() {
    Iterator<LockServiceMXBean> it = mapOfProxy.values().iterator();
    if (it != null) {
      while (it.hasNext()) {
        String name = it.next().getName();
        return name;
      }

    }
    return null;
  }
@return name of the lock service
geode-core/src/main/java/org/apache/geode/management/internal/beans/DistributedLockServiceBridge.java