Config config;
this.properties = registry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(RuntimeProperties.class).getProperties();
String configFile = properties.getProperty("hazelcastConfig");
if (configFile != null) {
try {
config = new XmlConfigBuilder(configFile).build();
} catch (FileNotFoundException e) {
throw new IllegalArgumentException(configFile, e);
}
} else {
config = new XmlConfigBuilder().build();
RegistryConfig rc = new RegistryConfig(properties);
config.setPort(rc.getBindPort());
//config.setPortAutoIncrement(false);
if (!rc.getBindAddress().equals("*")) {