}
}
private void initHazelcastClientInstance() {
this.properties = registry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(RuntimeProperties.class).getProperties();
RegistryConfig rc = new RegistryConfig(properties);
if (rc.getWKAs().size() < 1) {
String ip = getDefaultWKA();
if (ip != null) {
rc.getWKAs().add(ip);
}
}
if (rc.getWKAs().size() < 1) {
throw new IllegalArgumentException("Must specify remote IP address(es) for domain");
}
this.domainURI = properties.getProperty("defaultDomainName", "default");
this.hazelcastClient = HazelcastClient.newHazelcastClient(rc.getUserid(), rc.getPassword(), rc.getWKAs().toArray(new String[0]));
}