public Locator getLocator() {
    return locator;
  }
Gets a reference to the {@code Locator} that was created by this {@code LocatorLauncher}.

@return a reference to the Locator.
@see Locator
geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java