summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-impl/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-18 19:06:40 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-11-18 19:06:40 +0000
commitbf06eae38c29f648bb1b443ea8ea525c61bb630b (patch)
treeb648cd4ede1614b4ab8645380366ee0049d33dff /java/sca/modules/node-impl/src
parentb22c95d7267170bfe00620be78302aa365cfdc8f (diff)
Rename the methods on RuntimeEndpoint/RuntimeEndpointReference
Defer the unmarshalling of XML into endpoint/endpointReference git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-impl/src')
-rw-r--r--java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
index 65b55452cc..62f18f08e0 100644
--- a/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
+++ b/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
@@ -134,6 +134,7 @@ public class NodeImpl implements Node, Client {
this.compositeContext =
new CompositeContext(manager.registry, endpointRegistry, domainComposite);
+ CompositeContext.setThreadCompositeContext(compositeContext);
} finally {
// Reset the thread context monitor
manager.monitorFactory.setContextMonitor(tcm);
@@ -216,6 +217,7 @@ public class NodeImpl implements Node, Client {
this.compositeContext = null;
ThreadMessageContext.removeMessageContext();
+ CompositeContext.removeCompositeContext();
} catch (ActivationException e) {
throw new IllegalStateException(e);