code: public static Grid getInstance(String configFile, Properties properties) throws InterruptedException {
          return getInstance(configFile == null ? null : new FileSystemResource(configFile), (Object) properties);
      }
docs: Retrieves the grid instance, as defined in the given configuration file.
  
  @param configFile The name of the configuration file containing the grid definition.
  @param properties A {@link Properties Properties} object containing the grid's properties to be injected into placeholders
  in the configuration file.
  This parameter is helpful when you want to use the same xml configuration with different properties for different
  instances.
  @return The grid instance.