public LocatorMembershipListener getLocatorMembershipListener() {
    return locatorListener;
  }
Creates a new {@code Locator} with the given port, log file, logWriter, and bind address.

@param port the tcp/ip port to listen on
@param logFile the file that log messages should be written to
@param logWriter a log writer that should be used (logFile parameter is ignored)
@param securityLogWriter the log writer to be used for security related log messages
@param hostnameForClients the name to give to clients for connecting to this locator
@param distributedSystemProperties optional properties to configure the distributed system
       (e.g., mcast addr/port, other locators)
@param distributionConfig the config if being called from a distributed system; otherwise null.
@param workingDirectory the working directory to use for files
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalLocator.java