summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-impl/src/main
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-03 22:00:39 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-02-03 22:00:39 +0000
commitce670f8fc119fc342ab628dfaa8ab42f9cf4bb3f (patch)
treef93030cc3960ae8b134c9c73ddfa7755adbdc116 /sca-java-2.x/trunk/modules/node-impl/src/main
parentb7fe08cba88419f9e30f2795b5b171436bfabf7f (diff)
Add domainURI/nodeURI to runtime endpoint/endpoint reference
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@906262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-impl/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
index 483431b98a..043951b86c 100644
--- a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
+++ b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
@@ -134,7 +134,8 @@ public class NodeImpl implements Node, Client {
domainComposite = manager.configureNode(configuration, contributions, context);
this.compositeContext =
- new CompositeContext(manager.registry, endpointRegistry, domainComposite);
+ new CompositeContext(manager.registry, endpointRegistry, domainComposite, configuration
+ .getDomainURI(), configuration.getURI());
CompositeContext.setThreadCompositeContext(compositeContext);
} finally {
// Reset the thread context monitor
@@ -211,7 +212,6 @@ public class NodeImpl implements Node, Client {
} // end if
manager.removeNode(configuration);
- manager.registry.getExtensionPoint(UtilityExtensionPoint.class).removeUtility(compositeActivator);
this.compositeActivator = null;
this.proxyFactory = null;
this.domainComposite = null;