From ce670f8fc119fc342ab628dfaa8ab42f9cf4bb3f Mon Sep 17 00:00:00 2001 From: rfeng Date: Wed, 3 Feb 2010 22:00:39 +0000 Subject: 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 --- .../src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/node-impl/src/main') 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; -- cgit v1.2.3