diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-13 21:44:22 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-13 21:44:22 +0000 |
commit | 4bdede666fe9e6b28034a2e3995f1238b15f8f78 (patch) | |
tree | c01cf0fb42fd6b5d0cd8dea6e5c1ab9eca608a55 | |
parent | 5695a53ee03f7e92d426dfc650f11ef45e630bdc (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl.java b/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl.java index 1209683455..e5d655c3ee 100644 --- a/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl.java +++ b/sca-java-2.x/trunk/modules/sca-client-impl/src/main/java/org/apache/tuscany/sca/client/impl/SCAClientFactoryImpl.java @@ -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); - } + } } |