From 4ae4002366ded3f4b19cd96f403d8b418fcf00a1 Mon Sep 17 00:00:00 2001 From: rfeng Date: Fri, 16 Oct 2009 05:42:26 +0000 Subject: This is to change the Monitor to be request scoped for most of the cases: Refactor the ArtifactProcessor/ModelResolver to take a ProcessorContext that holds context such as Monitor, Contribution for the contribution/artifact processing methods Refactor the Builder to take a BuilderContext that holds context such as Monitor, Definitions, Base binding mapping for the building methods Change the processor/resolver/builder implementation classes to not cache the Monitor git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825773 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/calculator/dosgi/operations/impl/OperationsActivator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/sca/samples/dosgi-dynamic-calculator-operations/src/main') diff --git a/java/sca/samples/dosgi-dynamic-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java b/java/sca/samples/dosgi-dynamic-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java index a9d727b7e9..8d4838950b 100644 --- a/java/sca/samples/dosgi-dynamic-calculator-operations/src/main/java/calculator/dosgi/operations/impl/OperationsActivator.java +++ b/java/sca/samples/dosgi-dynamic-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 props = new Hashtable(); - props.put("service.exported.configs", new String[] {"sca"}); + props.put("service.exported.configs", new String[] {"org.osgi.sca"}); props.put("service.exported.interfaces", new String[] {"*"}); logger.info("Registering " + AddService.class.getName()); -- cgit v1.2.3