summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/sca-client-rmi
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-20 11:07:46 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-20 11:07:46 +0000
commite1c9d2e0c1ae1602280fca032a8b9488398d2b4d (patch)
tree386c7c250e4c891d02226ad972a5042d354130c2 /sca-java-2.x/trunk/modules/sca-client-rmi
parentb3a22d7cc3d29af33d290ef12538d62e463016ab (diff)
Update for the latest oasis API code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@901130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/sca-client-rmi')
-rw-r--r--sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java b/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java
index 07ac0b960c..b170c30045 100644
--- a/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java
+++ b/sca-java-2.x/trunk/modules/sca-client-rmi/src/main/java/org/apache/tuscany/sca/client/rmi/SCAClientFactoryImpl.java
@@ -22,7 +22,6 @@ package org.apache.tuscany.sca.client.rmi;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
import java.net.URI;
-import java.net.URISyntaxException;
import java.util.List;
import org.apache.tuscany.sca.core.ExtensionPointRegistry;
@@ -43,11 +42,11 @@ public class SCAClientFactoryImpl extends SCAClientFactory {
private EndpointRegistry endpointRegistry;
private ExtensionPointRegistry extensionsRegistry;
- public SCAClientFactoryImpl() throws URISyntaxException {
- super(new URI(Node.DEFAULT_DOMAIN_URI));
+ public SCAClientFactoryImpl() throws NoSuchDomainException {
+ super(URI.create(Node.DEFAULT_DOMAIN_URI));
}
- public SCAClientFactoryImpl(URI domainURI) {
+ public SCAClientFactoryImpl(URI domainURI) throws NoSuchDomainException {
super(domainURI);
NodeImpl node = (NodeImpl)NodeFactory.newInstance().createNode(domainURI);
if (node.getExtensionPoints() == null) {