// TODO: if there is not an existing endpoint registry for the domain URI the
// this should create an endpoint registry client for the remote domain (eg hazelcast native client)
// for now just throw an exception
if (endpointRegistry == null) {
throw new NoSuchDomainException(domainURI.toString());
}
FactoryExtensionPoint factories = extensionsRegistry.getExtensionPoint(FactoryExtensionPoint.class);
this.assemblyFactory = factories.getFactory(AssemblyFactory.class);
this.javaInterfaceFactory = factories.getFactory(JavaInterfaceFactory.class);
this.proxyFactory = ExtensibleProxyFactory.getInstance(extensionsRegistry);