Use the domain name not the uri when looking for a local registry
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5695a53ee0
commit
4bdede666f
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ public class SCAClientFactoryImpl extends SCAClientFactory {
|
|||
for (ExtensionPointRegistry xpr : ExtensionPointRegistryLocator.getExtensionPointRegistries()) {
|
||||
ExtensibleDomainRegistryFactory drf = ExtensibleDomainRegistryFactory.getInstance(xpr);
|
||||
for (DomainRegistry epr : drf.getEndpointRegistries()) {
|
||||
if (domainURI.equals(epr.getDomainURI())) {
|
||||
if (domainURI.equals(epr.getDomainName())) {
|
||||
this.extensionPointRegistry = xpr;
|
||||
this.domainRegistry = epr;
|
||||
return;
|
||||
|
@ -104,5 +104,5 @@ public class SCAClientFactoryImpl extends SCAClientFactory {
|
|||
}
|
||||
|
||||
return (T)Proxy.newProxyInstance(serviceInterface.getClassLoader(), new Class[]{serviceInterface}, handler);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue