summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/calculator-rmi-reference/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-01-22 01:00:00 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-01-22 01:00:00 +0000
commit65716670460fff72be3ff7975ab6d0fb699089ed (patch)
tree080bd7ff1b8c727bb8f9547e303363274cd91fcb /java/sca/samples/calculator-rmi-reference/src
parentca8b8139786c755c9892dd9d70ba52c044db9f8c (diff)
Fix the test case so that they can work with OSGi
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@736511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/calculator-rmi-reference/src')
-rw-r--r--java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java b/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
index f14191c411..b7aa70f122 100644
--- a/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
+++ b/java/sca/samples/calculator-rmi-reference/src/test/java/calculator/CalculatorRMIReferenceTestCase.java
@@ -46,7 +46,7 @@ public class CalculatorRMIReferenceTestCase {
Registry rmiRegistry = LocateRegistry.createRegistry(8099);
rmiRegistry.bind("CalculatorRMIService", rmiCalculatorImpl);
- String uri = ContributionLocationHelper.getContributionLocation("CalculatorRMIReference.composite");
+ String uri = ContributionLocationHelper.getContributionLocation(CalculatorService.class);
Contribution contribution = new Contribution("c1", uri);
node = NodeFactory.newInstance().createNode("CalculatorRMIReference.composite", contribution);
node.start();