@Override
  public String[] list() throws RemoteException {
    if (!isRunning()) {
      throw new IllegalStateException("RMIRegistryService is not running");
    }
    return registry.list();
  }
Returns an array of the names bound in the rmiregistry

@return an array of the names bound in the rmiregistry
@see java.rmi.registry.Registry#list()
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/RMIRegistryService.java