private static <K, V> RegionFactory<K, V> createRegionFactory(RegionShortcut shortcut) {
    return getCache().createRegionFactory(shortcut);
  }
Override to specify the mechanism used to connect to the Locator.
geode-dunit/src/main/java/org/apache/geode/management/internal/cli/commands/QueryCommandDistributedTestBase.java