summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/dosgi-calculator-operations/src/main
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-24 17:53:23 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-07-24 17:53:23 +0000
commit61fd7d871ecc003913e6bc31670e47d5e7eb4097 (patch)
treeb3fba81202522ccf530c97467a312d1e4f4f0afb /java/sca/samples/dosgi-calculator-operations/src/main
parentf233e515188f75286b600ed5d4d567b6a3203b2f (diff)
Add the support for dynamic OSGi remote service import and export based on OSGi properties
Add two samples to demonstrate the OSGi property driven remote services git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@797580 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/dosgi-calculator-operations/src/main')
-rw-r--r--java/sca/samples/dosgi-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/samples/dosgi-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java b/java/sca/samples/dosgi-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java
index 5348d19f34..da2ce9063a 100644
--- a/java/sca/samples/dosgi-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java
+++ b/java/sca/samples/dosgi-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java
@@ -44,7 +44,7 @@ public class OperationsActivator implements BundleActivator {
logger.info("Starting " + context.getBundle());
Dictionary<String, Object> props = new Hashtable<String, Object>();
-
+
logger.info("Registering " + AddService.class.getName());
props.put("sca.service", "AddComponent#service-name(Add)");
context.registerService(AddService.class.getName(), new AddServiceImpl(), props);