summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/endpoint-tribes/src
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-tribes/src')
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedDomainRegistry.java6
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedDomainRegistry.java b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedDomainRegistry.java
index e94b710186..9a6f362cb6 100644
--- a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedDomainRegistry.java
+++ b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedDomainRegistry.java
@@ -452,19 +452,19 @@ public class ReplicatedDomainRegistry extends BaseDomainRegistry implements Doma
}
@Override
- public void removeRunningComposite(String contributionURI, QName name) {
+ public void removeRunningComposite(String contributionURI, String compositeURI) {
// TODO Auto-generated method stub
}
@Override
- public Composite getRunningComposite(String contributionURI, QName name) {
+ public Composite getRunningComposite(String contributionURI, String compositeURI) {
// TODO Auto-generated method stub
return null;
}
@Override
- public Map<String, List<QName>> getRunningCompositeNames() {
+ public Map<String, List<String>> getRunningCompositeURIs() {
// TODO Auto-generated method stub
return null;
}
diff --git a/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java b/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java
index b72d8e5de3..96d2119b87 100644
--- a/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java
+++ b/sca-java-2.x/trunk/modules/endpoint-tribes/src/test/java/org/apache/tuscany/sca/endpoint/tribes/MultiRegTestCase.java
@@ -70,7 +70,7 @@ public class MultiRegTestCase implements EndpointListener {
attrs1.put("receiverAutoBind", range);
// attrs1.put("routes", host + ":" + port2 + " " + host + ":" + port3);
ReplicatedDomainRegistry reg1 = new ReplicatedDomainRegistry(extensionPoints, attrs1, "foo", "bar");
- reg1.addListener(this);
+ reg1.addEndpointListener(this);
reg1.start();
Map<String, String> attrs2 = new HashMap<String, String>();
@@ -80,7 +80,7 @@ public class MultiRegTestCase implements EndpointListener {
attrs2.put("receiverAutoBind", range);
// attrs2.put("routes", host + ":"+port1);
ReplicatedDomainRegistry reg2 = new ReplicatedDomainRegistry(extensionPoints, attrs2, "foo", "bar");
- reg2.addListener(this);
+ reg2.addEndpointListener(this);
reg2.start();
Map<String, String> attrs3 = new HashMap<String, String>();
@@ -90,7 +90,7 @@ public class MultiRegTestCase implements EndpointListener {
attrs3.put("receiverAutoBind", range);
// attrs3.put("routes", host + ":"+port1);
ReplicatedDomainRegistry reg3 = new ReplicatedDomainRegistry(extensionPoints, attrs3, "foo", "bar");
- reg3.addListener(this);
+ reg3.addEndpointListener(this);
reg3.start();
ep1.bind(extensionPoints, reg1);