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 {
// TUSCANY-3675 - domainRegistryURI properties don't seem to be copied into the
// properties collection anywhere
config = new XmlConfigBuilder().build();
RegistryConfig rc = RegistryConfig.parseConfigURI(domainRegistryURI);
config.setPort(rc.getBindPort());
//config.setPortAutoIncrement(false);
if (!rc.getBindAddress().equals("*")) {