diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-27 21:04:51 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-27 21:04:51 +0000 |
commit | 5cfd47acaadaca214fa71ac58fb9225825d3f561 (patch) | |
tree | 590e5686b28c64c13a13a29dfc8a26910b83e5f3 /java/sca/samples/dosgi-dynamic-calculator/src | |
parent | 49992e45cb204a23cf1800d5c078e50600ff044c (diff) |
Use sca-config XML files for SCA binding/policy definitions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@830339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/dosgi-dynamic-calculator/src')
-rw-r--r-- | java/sca/samples/dosgi-dynamic-calculator/src/main/java/calculator/dosgi/impl/CalculatorActivator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/samples/dosgi-dynamic-calculator/src/main/java/calculator/dosgi/impl/CalculatorActivator.java b/java/sca/samples/dosgi-dynamic-calculator/src/main/java/calculator/dosgi/impl/CalculatorActivator.java index b1d6940943..6228afcd53 100644 --- a/java/sca/samples/dosgi-dynamic-calculator/src/main/java/calculator/dosgi/impl/CalculatorActivator.java +++ b/java/sca/samples/dosgi-dynamic-calculator/src/main/java/calculator/dosgi/impl/CalculatorActivator.java @@ -60,7 +60,7 @@ public class CalculatorActivator implements BundleActivator { props.put("sca.service", "CalculatorComponent#service-name(Calculator)"); props.put("calculator", "Calculator"); props.put("service.exported.configs", new String[] {"org.osgi.sca"}); - props.put("sca.bindings", new String[] {"OSGI-INF/sca/calculator-service.bindings"}); + props.put("org.osgi.sca.bindings", new String[] {"{http://sample}Calculator"}); props.put("service.exported.interfaces", new String[] {"*"}); logger.info("Registering " + CalculatorService.class.getName()); CalculatorService calculator = new CalculatorServiceImpl(context); |