public JMXServiceURL getRMIAddress() {
    if (rmiConnector != null) {
      return rmiConnector.getAddress();

    } else {
      return null;
    }
  }
Returns the address (URL) on which the RMI connector server runs or <code>null</code> if the
RMI connector server has not been started. This method is used primarily for testing purposes.

@see JMXConnectorServer#getAddress()
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/AgentImpl.java